In order for HVM domains to provide emulated access to disks provided by hotplug scripts, qemu needs access to a "cooked" version of the disk. In the case of hotplug scripts, this "cooked" version is available in the form of a block device passed to blkback. Make this "cooked" version available to qemu.
This series also starts to work towards a rationalized interface to the block hotplug scripts, on which hotplug scripts for FreeBSD can be added. George Dunlap (7): tools/hotplug: Add a "dummy" hotplug script for testing libxl: Remove redundant setting of phyical-device tools/hotplug: Write physical-device-path in addition to physical-device libxl: Move check for local access to a funciton libxl: Share logic for finding path between qemuu and pygrub libxl: Allow local access for block devices with hotplug scripts docs: Document block-script protocol Ian Jackson (1): DO NOT APPLY libxl: Change hotplug script interface to use physical-device-path docs/misc/block-scripts.txt | 84 ++++++++++++++++++++++++ tools/hotplug/Linux/Makefile | 1 + tools/hotplug/Linux/block-common.sh | 16 ++--- tools/hotplug/Linux/block-dummy | 107 ++++++++++++++++++++++++++++++ tools/libxl/libxl.c | 126 +++++++++++++++++++++++++----------- tools/libxl/libxl_dm.c | 65 ++++++++++++------- tools/libxl/libxl_internal.h | 11 +++- tools/libxl/libxl_linux.c | 70 +++++++++++++++++++- 8 files changed, 407 insertions(+), 73 deletions(-) create mode 100644 docs/misc/block-scripts.txt create mode 100644 tools/hotplug/Linux/block-dummy -- CC: Ian Jackson <ian.jack...@citrix.com> CC: Wei Liu <wei.l...@citrix.com> CC: Roger Pau Monne <roger....@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel