|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] Re: [PATCH] Add monitor command for system_reboot |
Date: | Fri, 08 May 2009 13:14:38 -0500 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
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. Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |