All of lore.kernel.org
 help / color / mirror / Atom feed
* Why I cannot reconnect blk backend
@ 2008-11-19  9:41 Wayne Gong
  2008-11-19  9:57 ` James Harper
  0 siblings, 1 reply; 8+ messages in thread
From: Wayne Gong @ 2008-11-19  9:41 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 978 bytes --]

Hi,

I am implementing save/restore feature for windows pv driver. After 
system resumed, my frontend blk driver cannot connect backend. Here is 
my work flow:

1, Set frontend state to XenbusStateClosing, then set state to 
XenbusStateClosed. At the end, set frontend state to XenbusStateInitiazing.
2, Release blk device relevant memory.
3, Shutdown xenbus and release relevant memory.
4, Call hypercall to let system suspend.
......
(resume)
5. Reinit xenbus.
6. Get grant table, init share ring, allocate event channel for blk device.
7. Set frontend state to XenbusStateConnected. <-- got issue here.

When set frontend state to connect, my backend state watcher tell me 
that backend state changed to closing and then closed.

I am not very family with blk backend driver, so I want to know which 
scenarios cause blk backend state change to closing/closed. Any info I 
gave to xenstore is wrong?

I use xen 3.1.3, win2k3. I can provide me info if you need.

Thanks
Wayne

[-- Attachment #1.2: Type: text/html, Size: 1319 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-11-20 11:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-19  9:41 Why I cannot reconnect blk backend Wayne Gong
2008-11-19  9:57 ` James Harper
2008-11-19 14:26   ` Wayne Gong
2008-11-19 14:34   ` Wayne Gong
2008-11-19 22:27     ` James Harper
2008-11-20  5:56       ` Wayne Gong
2008-11-20 10:25         ` James Harper
2008-11-20 11:27           ` Wayne Gong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.