From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Joshua Lock <josh@linux.intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: how to cleanly exit a QEMU session?
Date: Wed, 30 Nov 2011 17:42:47 -0500 [thread overview]
Message-ID: <4ED6B167.2030500@windriver.com> (raw)
In-Reply-To: <4ED6AED5.8070308@linux.intel.com>
On 11-11-30 05:31 PM, Joshua Lock wrote:
> On 30/11/11 03:46, Robert P. J. Day wrote:
>> On Wed, 30 Nov 2011, Paul Eggleton wrote:
>>
>>> On Tuesday 29 November 2011 18:00:31 Robert P. J. Day wrote:
>>>> i'm sure it's in one of the docs i missed, but how does one cleanly
>>>> shut down a QEMU session and get back to the original terminal
>>>> session? i've tried shutdown and poweroff but neither of those gives
>>>> me my shell prompt back.
>>>
>>> Which machine are you running within the emulator? I know some emulated
>>> machines don't seem to support actually powering off - does reboot work?
>>
>> qemuppc, core-image-minimal. interestingly, "poweroff" doesn't
>> completely close the QEMU session, but "reboot" does. it might be
>> worth adding that to the quick start guide.
>
> The same is also true for qemuarm, we work around it in sato by munging
> the shutdown.desktop file to all restart and having the qemu scripts
> start qemu with -norestart.
>
> Clearly we should also do the shutdown.desktop munging for qemuppc
>
> What do people think to the idea of putting something into the image for
> those two specific machines which aliases poweroff to reboot?
I'd be fine with such a change, I pushed for the ARM mapping to
reboot originally, so doing the same here and an alias would make
the command line consistent with the GUI.
Bruce
>
> Joshua
next prev parent reply other threads:[~2011-11-30 22:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-29 23:00 how to cleanly exit a QEMU session? Robert P. J. Day
2011-11-29 23:04 ` Martin Jansa
2011-11-30 11:02 ` Paul Eggleton
2011-11-30 11:46 ` Robert P. J. Day
2011-11-30 22:31 ` Joshua Lock
2011-11-30 22:42 ` Bruce Ashfield [this message]
2011-11-30 22:47 ` Wolfgang Denk
2011-11-30 23:18 ` Bruce Ashfield
2011-12-01 2:16 ` Joshua Lock
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=4ED6B167.2030500@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=josh@linux.intel.com \
--cc=yocto@yoctoproject.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.