[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu-system-sh4 -M r2d serial is broken.
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] qemu-system-sh4 -M r2d serial is broken. |
Date: |
Fri, 19 May 2017 01:00:18 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On 2017-05-18 17:35, Rob Landley wrote:
>
>
> On 05/18/2017 02:57 PM, Paolo Bonzini wrote:
> >
> >
> > On 18/05/2017 18:08, Rob Landley wrote:
> >> Serial input hangs after the first character in the 4.11 kernel:
> >>
> >> http://www.spinics.net/lists/linux-sh/msg51183.html
> >>
> >> Because they enabled support for a buffer size thing QEMU doesn't
> >> emulate right:
> >>
> >> http://www.spinics.net/lists/linux-sh/msg51189.html
> >
> > Hey,
> >
> > regarding this:
> >
> >> The really _fun_ thing about this is qemu broke it a couple years back
> >> and now if you hit ctrl-c it kills the _emulator_ rather than passing it
> >> through to the Linux console. (Just sh4, the rest do it right.)
> >
> > Try replacing "-serial stdio" with "-serial mon:stdio". You'll also be
> > able to use the QEMU monitor with "Ctrl-a c", so you can quit with
> > "Ctrl-a c quit <enter>".
>
> Ctrl-c now goes through. Thanks!
>
> Exiting the linux instance says "reboot: Restarting system\nUnauthorized
> access" and then hangs eating 100% cpu, but maybe I can fix that with
> kernel configuration changes.
I guess you mean rebooting the linux instance. This is because you do
not use a bootloader to load the kernel and the initrd. Then you might
be interested in:
http://lists.nongnu.org/archive/html/qemu-devel/2017-05/msg03881.html
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
address@hidden http://www.aurel32.net