|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] shutdown question - PV vs HVM
>
> For a PV guest, a shutdown node is written into xenstore which the
guest
> picks up. The guest will then usually initiate a clean shutdown.
>
My Windows PV drivers now know how to put a watch on something, so by
putting a watch on 'control' I can see the shutdown request from Dom0
(written to 'control/shutdown' I think). As I do nothing currently
though, a forced shutdown occurs very soon after.
If I understand the code correctly, as soon as I see the
control/shutdown node appear, I should read it, and then write a blank
string into it, which acknowledges the shutdown request and stops the
forced shutdown. I should then give windows the shutdown or reboot
command, depending on what I read from the xenstore node.
Sound good?
Thanks
James
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- RE: [Xen-devel] shutdown question - PV vs HVM,
James Harper <=
|
|
|
|
|