From: Ian Jackson Subject: [PATCH v3 0/2] libxl: change to qemu-xen (upstream) by default Date: Fri, 1 Mar 2013 17:41:50 +0000 Message-ID: <1362159712-26589-1-git-send-email-ian.jackson@eu.citrix.com> References: <1359027839.17440.130.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: <1359027839.17440.130.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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH v2] libxl: use qemu-xen (upstream QEMU) as device model by default"): > On Tue, 2012-12-04 at 12:58 +0000, Stefano Stabellini wrote: > > -Use the device-model based upon the historical Xen fork of Qemu. This > > -device-model is currently the default. > > +use the device-model merged into the upstream QEMU project. > > Can you correct to "Use" as you move it please. Fixed. > > -use the device-model merged into the upstream QEMU project. This > > -device-model will become the default in a future version of Xen. > > +Use the device-model based upon the historical Xen fork of Qemu. > > +This device-model is still the default for NetBSD dom0. > > Does that look like changing for 4.3? I guess not but I don't think that should block this change. > > - b_info->device_model_version = > > - LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN_TRADITIONAL; > > + b_info->device_model_version = libxl__default_device_model(gc); > > For PV we stat() the executable before using it -- I don't remember why > but should we be doing the same here? Presumably in case the upstream build was disabled. I think the same logic applies so I have arranged to do the same. > I think the logic needs to be (perhaps in Linux's > libxl__default_device_model(gc) only) > if (libxl_defbool_val(b_info->device_model_stubdomain) > LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN_TRADITIONAL; > else > LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN; Yes, done. > > + /* Return the system-wide default device model: > > + * qemu-xen for Linux, qemu-xen-traditional for NetBSD. > > I bet you someone forgets to update this when NetBSD changes ;-) That remark just needs to go IMO. So we now have: [PATCH 1/2] libxl: move check for existence of qemuu device model [PATCH 2/2] libxl: use qemu-xen (upstream QEMU) as device model by default