qemu-devel
[Top][All Lists]
Advanced

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

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


From: Ryan Harper
Subject: Re: [Qemu-devel] Re: [PATCH] Add monitor command for system_reboot
Date: Fri, 8 May 2009 13:26:58 -0500
User-agent: Mutt/1.5.6+20040907i

* Anthony Liguori <address@hidden> [2009-05-08 13:15]:
> Ryan Harper wrote:
> >well, I think this is where we're missing each other.  I figured if the
> >users requested a reboot, that we also trigger the powerdown, and that's
> >what I'm doing.  If in the monitor you issue system_reboot, I'm
> >triggering a powerdown automatically.  Are you saying you want the users
> >to do, system_reset, and then system_powerdown in their own?
> 
> No, I'm saying that if a user does a system_reboot, and that fails for 
> one reason or another (like the user hits Cancel in the GUI that pops 
> up), the flag is still present.
> 
> If the user later does a proper shutdown of his system (in the guest 
> itself), instead of shutting down, it'll reboot.
> 
> Try this:
> 
> 1) do system_reboot in the monitor
> 2) In the guest, when you get the Gnome GUI, hit cancel
> 3) Go to the Gnome menu to do a normal system shutdown.
> 
> It'll end up doing a reboot.

Hrm, yeah -- I'll have to see what path a guest shutdown travels and if
it's the same as what would happen with a system_powerdown via the
monitor we can clear the reboot flag.

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
address@hidden




reply via email to

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