qemu-devel
[Top][All Lists]
Advanced

[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: Michael Tokarev
Subject: Re: [Qemu-devel] [PATCH v2] stop using stdio for monitor/serial/etc with -daemonize
Date: Wed, 26 Sep 2012 11:09:00 +0400
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6

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.

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.

Besides, the patch which I based my change on, "curses: don't initialize
curses when qemu is daemonized", probably makes no sense too, since
it is a situation with -curses -daemonize (or, -- is there a difference? --
-display curses -daemonize).  That situation is better be errored
out than worked around, I think.  (You just pulled that patch from
Stefanha).

Thanks,

/mjt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]