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

[Xen-devel] [PATCH 0/6] qdisk local attach



Hi all,
this patch implements local_attach support for QDISK: that means that
you can use qcow2 as disk format for your PV guests disks and use
pygrub to retrieve the kernel and initrd in dom0.

The idea is that we start a QEMU instance at boot time to listen to
local_attach requests. When libxl_device_disk_local_attach is called on
a QDISK images, libxl sets up a backend/frontend pair in dom0 for the disk
so that blkfront in dom0 will create a new xvd device for it.
Then pygrub can be pointed at this device to retrieve kernel and
initrd.


Stefano Stabellini (6):
      libxl: libxl_device_disk_local_attach return a new libxl_device_disk
      libxl: introduce libxl__device_generic_add_t
      libxl: add an xs_transaction_t parameter to two libxl functions
      libxl: introduce libxl__device_disk_add_t
      libxl: introduce libxl__alloc_vdev
      xl/libxl: implement QDISK libxl_device_disk_local_attach

 tools/hotplug/Linux/init.d/sysconfig.xencommons |    4 +
 tools/hotplug/Linux/init.d/xencommons           |    4 +
 tools/libxl/libxl.c                             |  195 ++++++++++++++++++-----
 tools/libxl/libxl.h                             |    3 +-
 tools/libxl/libxl_bootloader.c                  |    9 +-
 tools/libxl/libxl_device.c                      |   36 +++--
 tools/libxl/libxl_internal.h                    |    2 +
 7 files changed, 196 insertions(+), 57 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®.