[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] stop using stdio for monitor/serial/etc with
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v2] stop using stdio for monitor/serial/etc with -daemonize |
Date: |
Wed, 26 Sep 2012 09:00:47 +0100 |
On 26 September 2012 08:09, Michael Tokarev <address@hidden> wrote:
> On 26.09.2012 01:19, Anthony Liguori wrote:
>> Combining -nographic and -daemonize don't make sense. I'd rather error
>> out with this combination.
>>
>> I think what the user is after is -daemonize -vga none OR -daemonize
>> -display none.
>
> So what's the difference?
>
> I know lots of people use -nographic -daemonize to run headless
> guests in background (like, for example, a router). I guess it
> come way before -vga option has been introduced, but at least I
> know about -vga (but not about -vga none). For one, I never saw
> -display before. And it looks like -nographic is a synonym for
> -display none, and -curses is a synonym for -display curses.
-nographic does about three different things at once (and I think
some of its effects aren't documented). It's a legacy option retained
for backward compatibility with old command lines.
If you want something that is non-confusing and makes sense, then
use -display none to disable graphics, -serial stdio to send serial
to stdio, and so on. These newer options do one clear thing each
and can be combined straightforwardly.
> It looks like we have way too many confusing options doing the
> same thing. And I think they should be consistent, at least
> when they SMELL like they do the same thing, instead of forbidding
> one or another in some situations.
I'd love to drop -nographic but we'd break huge numbers of
existing setups...
-- PMM