Re: [Xen-devel] [PATCH 26/28] libxl: spawns two QEMUs for HVM guests

2016-01-08 Thread Ian Campbell
On Fri, 2016-01-08 at 14:35 +, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH 26/28] libxl: spawns two QEMUs for HVM > guests"): > > On Tue, 2015-12-22 at 18:45 +, Ian Jackson wrote: > > > @@ -440,6 +442,15 @@ static int > > > domcreate_setdefault_dm_user(libxl__gc > > > *gc, > > > +

Re: [Xen-devel] [PATCH 26/28] libxl: spawns two QEMUs for HVM guests

2016-01-08 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH 26/28] libxl: spawns two QEMUs for HVM guests"): > On Tue, 2015-12-22 at 18:45 +, Ian Jackson wrote: > > @@ -440,6 +442,15 @@ static int domcreate_setdefault_dm_user(libxl__gc > > *gc, > > +if (!libxl__dm_supported(gc, dm, > > libxl__dm_support_check__emula

[Xen-devel] [PATCH 26/28] libxl: spawns two QEMUs for HVM guests

2015-12-22 Thread Ian Jackson
From: Stefano Stabellini We actually need to spawn a second QEMU if we want to run qemu as non-root, because the pv backends ought to run as root (or device hotplug may not work). So in this case, start a second QEMU to provide PV backends in userspace to HVM guests. Use both dcs->dmss.pvqemu a