From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGlk0-0004VN-IQ for qemu-devel@nongnu.org; Wed, 26 Sep 2012 03:09:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGljz-0006oT-Im for qemu-devel@nongnu.org; Wed, 26 Sep 2012 03:09:04 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:41605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGljz-0006oO-BF for qemu-devel@nongnu.org; Wed, 26 Sep 2012 03:09:03 -0400 Message-ID: <5062AA0C.60303@msgid.tls.msk.ru> Date: Wed, 26 Sep 2012 11:09:00 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <1348584532-21914-1-git-send-email-mjt@msgid.tls.msk.ru> <876271ol4w.fsf@codemonkey.ws> In-Reply-To: <876271ol4w.fsf@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] stop using stdio for monitor/serial/etc with -daemonize List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , Hitoshi Mitake , qemu-devel@nongnu.org, Stefan Hajnoczi 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