[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Fix xm reboot --wait
On 7/8/06 11:20 am, "Masaki Kanno" <kanno.masaki@xxxxxxxxxxxxxx> wrote: > This patch fixed 'xm reboot' to work as you expected with the wait > option. The completion of a VM reboot is detected by observing that > its Domain-ID changes. > > Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx> What happens currently? Can 'xm reboot' wait forever because it races the re-creation of the domain? We need a better test than domid. It's not guaranteed that a domain will get a new domid when it restarts. Perhaps xend should support the wait option (since it is involved in the restart), or we could add a restart sequence count to xenstore (but xm oughtn't to access xenstore directly). -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |