From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= Subject: Re: [PATCH] tools: revert to using /var and /etc/ Date: Mon, 28 Jan 2013 18:54:04 +0000 Message-ID: <5106C94C.2050205@citrix.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> <1557888518.20130128194603@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1557888518.20130128194603@eikelenboom.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Sander Eikelenboom Cc: "xen-devel@lists.xen.org" , Ian Jackson , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On 28/01/13 18:46, Sander Eikelenboom wrote: > > Monday, January 28, 2013, 5:49:28 PM, you wrote: > >> On Mon, 28 Jan 2013, Ian Campbell wrote: >>> On Mon, 2013-01-28 at 10:39 +0000, Sander Eikelenboom wrote: >>>> Another thing is that: >>>> $QEMU_XEN -xen-domid 0 -xen-attach -name dom0 -nographic -M >>>> xenpv -daemonize -monitor /dev/null -pidfile $QEMU_PIDFILE >>>> >>>> Doesn't seem to start with upstream qemu, combination of -nographic >>>> and -daemonize doesn't seem to be allowed anymore. >>>> (not a problem for me, because i don't seem to be using it as >>>> diskbackend, but for a 4.3 release ...) >>> >>> Stefano, is this expected? >> >> No, it is not. Sander, thanks for the report. >> This is the reason: > >> /* 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. >> */ > >> If fact it looks like that the appended patch fixes it, can you please >> confirm it? > > Confirmed thx ! Running Qemu using the -daemonize and -nographic options used to left the console tty in a bad state (which could be reverted by using 'stty sane'). Do you know if this is also fixed?