From: Ian Campbell Subject: Re: [PATCH] xencommons: redirect serial and parallel to /dev/null Date: Tue, 5 Feb 2013 11:35:13 +0000 Message-ID: <1360064113.17017.61.camel@zakaz.uk.xensource.com> References: <1359119447-20967-1-git-send-email-ian.campbell@citrix.com> <51028BA0.2020004@citrix.com> <1359130524.10051.92.camel@zakaz.uk.xensource.com> <1098084018.20130127224937@eikelenboom.it> <1359368738.6559.42.camel@zakaz.uk.xensource.com> <1027570226.20130128113931@eikelenboom.it> <1359370255.6559.59.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: Sander Eikelenboom , "xen-devel@lists.xen.org" , Ian Jackson , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org On Mon, 2013-01-28 at 18:48 +0000, Stefano Stabellini wrote: > Upstream QEMU doesn't support -nographic with -daemonize unless monitor, > serial and parallel outputs are all redirected: > > /* According to documentation and historically, -nographic redirects > * serial port, parallel port and monitor to stdio, which does not work > * with -daemonize. We can redirect these to null instead, but since > * -nographic is legacy, let's just error out. > * We disallow -nographic only if all other ports are not redirected > * explicitly, to not break existing legacy setups which uses > * -nographic _and_ redirects all ports explicitly - this is valid > * usage, -nographic is just a no-op in this case. > */ > > Considering that we do want to redirect them to /dev/null anyway, do so. > Signed-off-by: Stefano Stabellini > Tested-by: Sander Eikelenboom I think I asked you IRL if this would work with older QEMU too and IIRC you said yes, so : Acked-by: Ian Campbell Applied, I had to adjust because of 26352:9a1610c1e564 "xencommons: Stop QEMU in do_stop()" and I rewrapped it since the line was getting a bit ridiculous, let me know if I did it wrong...