[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 0/5] libxl: xs_restrict QEMU



On Thu, Jun 04, 2015 at 12:27:12PM +0100, Stefano Stabellini wrote:
> Hi all,
> 
> this patch series changes libxl to start QEMU as device model with the
> new xsrestrict option (http://marc.info/?l=xen-devel&m=143341692707358).
> It also starts a second QEMU to provide PV backends in userspace (qdisk)
> to HVM guests.
> 

The main problem I can think of is that now we have two emulators for
the same domain, we need a new xenstore protocol -- could be as easy as
having $EMULATOR_ID in xenstore path.

Currently both emulators will write to the same xenstore path to
indicate readiness, this is going to cause problem.

Wei.

> 
> Changes in v2:
> 
> - fix xs permissions to actually do what intended
> - use LIBXL_TOOLSTACK_DOMID instead of 0
> - add "libxl: xsrestrict QEMU"
> - add "libxl: change xs path for pv qemu"
> - add "libxl: spawns two QEMUs for HVM guests"
> 
> 
> Stefano Stabellini (5):
>       libxl: allow /local/domain/0/device-model/$DOMID to be written by $DOMID
>       libxl: do not add a vkb backend to hvm guests
>       libxl: xsrestrict QEMU
>       libxl: change xs path for pv qemu
>       libxl: spawns two QEMUs for HVM guests
> 
>  tools/libxl/libxl.c          |    2 +-
>  tools/libxl/libxl_create.c   |   23 +++++++---
>  tools/libxl/libxl_device.c   |    2 +-
>  tools/libxl/libxl_dm.c       |   99 
> +++++++++++++++++++++++++++++++++++++-----
>  tools/libxl/libxl_dom.c      |   12 ++---
>  tools/libxl/libxl_internal.c |   19 ++++++--
>  tools/libxl/libxl_internal.h |    8 ++--
>  tools/libxl/libxl_pci.c      |   14 +++---
>  tools/libxl/libxl_utils.c    |   10 +++++
>  9 files changed, 152 insertions(+), 37 deletions(-)
> 
> Cheers,
> 
> Stefano

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.