qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot


From: Stefano Stabellini
Subject: Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot
Date: Wed, 8 Jul 2009 16:47:46 +0100
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Wed, 8 Jul 2009, Avi Kivity wrote:
> On 07/08/2009 05:10 PM, Daniel P. Berrange wrote:
> >>> Indeed.  This is what has kept me from applying this but I just can't
> >>> think of any better solution.
> >>>
> >>> Any ideas?
> >>>
> >>> The drive behind implementing this feature is so that we can implement
> >>> a proper virDomainReboot in libvirt.
> >>>
> >>>        
> >> How does Xen hvm implement it?
> >>      
> >
> > You have to install the Xen paravirt drivers, so Xen HVM handles graceful
> > shutdown/reboot in the same way as pure Xen paravirt. They watch a flag
> > in xenstore and invoke shutdown -r / -h according to the flag.
> >    
> 
> What happens if the driver is not installed?  The guest just keeps 
> going, right?
> 

There are ways to detect if the guest has pv drivers installed or not,
if they are present soft shutdown/reboot is available; if they are
not installed soft shutdown/reboot is not available.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]