[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] -serial stdio broken
From: |
Richard W.M. Jones |
Subject: |
Re: [Qemu-devel] -serial stdio broken |
Date: |
Thu, 7 Jan 2010 13:25:36 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Thu, Jan 07, 2010 at 01:32:09PM +0100, Gerd Hoffmann wrote:
> Hi,
>
>> So what seems to be happening here is there is an implicit monitor
>> being set up which grabs stdio. Because:
>>
>> #define STDIO_MAX_CLIENTS 1
>>
>> my own -serial stdio option subsequently fails. This is a regression
>> over previous behaviour. I didn't specify a monitor device, because I
>> don't want one, and previous versions of qemu didn't give me one in
>> nographic mode.
>
> They gave you a monitor too. Try typing 'Ctrl-A c' on stdio, and you'll
> see. qemu tries to be more clever than you. Which sucks IMHO. But
> getting rid of that without adding regressions seems to be really hard
> ...
>
> Easiest way to workaround this is to simply not specify '-serial stdio'.
> It is the default anyway for -nographic, so you don't have to.
I want to see the output of the serial port on stdio though. I don't
care at all about the monitor.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html