From: Ryan Harper <ryanh@us.ibm.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
Ryan Harper <ryanh@us.ibm.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Re: [PATCH] Add monitor command for system_reboot
Date: Fri, 8 May 2009 13:26:58 -0500 [thread overview]
Message-ID: <20090508182658.GH3233@us.ibm.com> (raw)
In-Reply-To: <4A04768E.5020705@codemonkey.ws>
* Anthony Liguori <anthony@codemonkey.ws> [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
ryanh@us.ibm.com
prev parent reply other threads:[~2009-05-08 18:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1241801561-11441-1-git-send-email-ryanh@us.ibm.com>
2009-05-08 16:59 ` [Qemu-devel] Re: [PATCH] Add monitor command for system_reboot Anthony Liguori
2009-05-08 17:13 ` Ryan Harper
2009-05-08 17:38 ` Anthony Liguori
2009-05-08 17:45 ` Ryan Harper
2009-05-08 18:14 ` Anthony Liguori
2009-05-08 18:26 ` Ryan Harper [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090508182658.GH3233@us.ibm.com \
--to=ryanh@us.ibm.com \
--cc=aliguori@us.ibm.com \
--cc=anthony@codemonkey.ws \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.