From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: Re: [PATCH] libxl: default to xenconsoled for pv guests, even if qemu is running Date: Wed, 25 Apr 2012 16:34:37 +0100 Message-ID: References: <1335350442.28015.29.camel@zakaz.uk.xensource.com> <1335351773.28015.33.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: <1335351773.28015.33.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "xen-devel@lists.xen.org" , Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Wed, 25 Apr 2012, Ian Campbell wrote: > # HG changeset patch > # User Ian Campbell > # Date 1335351300 -3600 > # Node ID 28f86b71782a099c0373fb237e6b08e0788ff69d > # Parent 02f0161ae6201ded5415e7f0c92214b4783c8d72 > libxl: default to xenconsoled for pv guests, even if qemu is running. > > Currently we prefer to use qemu for the disk backend if we are starting qemu > anyway (e.g. to service a disk). > > Unfortunately qemu doesn't log the console, which xenconsoled can do via > XENCONSOLED_TRACE=guest. Since xenconsoled is also running anyway it seems like > there is no particular reason to prefer qemu just because it happens to be > running. > > However we must use qemu if thereis more than one console (xenconsoled only > supports a single console). > > Therefore push the logic to change the console backend down into > libxl__need_xenpv_qemu so that it can do the right thing. > > Signed-off-by: Ian Campbell Acked-by: Stefano Stabellini