On Thu, 2017-02-09 at 15:08 +0100, Andrew Jones wrote:
[...]
> Actually, I don't think anything is stopping me from using this
> file that way. I'll have to try the file name override that I
> suggested below, but
> 
>  qemu -nodefaults -readconfig configfile -m $MEM -machine accel=tcg
> 
> should certainly override correctly.

I just tried and at least overriding the amount of memory
definitely works :)

> > > I agree with the comments of others that we should be using
> > > the PL011 instead. We should also set it up such that the
> > > monitor is multiplexed, so ^C won't terminate the guest and
> > > ^A will allow us to go to the monitor.
> > 
> > That sounds awesome, how do I actually make it work from
> > the configuration file though?
> 
> Sorry, dunno :-)

I don't think there's a way to make it work without adding
some parameters to the command line, I'm afraid :(

But if you use '-serial mon:stdio' you can indeed switch
between the serial console and the QEMU monitor at will,
and as a (quite interesting) side-effect Ctrl+C will no
longer kill QEMU :)

By the way, switching between serial and monitor is not
done with Ctrl+A but with Ctrl+A-c, which is not the most
convenient shortcut if you're running your guests on a
remote host due to GNU screen using the very same one ;)

-- 
Andrea Bolognani / Red Hat / Virtualization

Reply via email to