diff options
author | Paul Durrant <paul.durrant@citrix.com> | 2013-08-02 17:45:31 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-08-05 10:25:21 +0100 |
commit | 066e134fb33b7fe0a0a496b459bbd675b146403c (patch) | |
tree | c8f5b3358095ade49a5eddc6cdca9aaf475df813 /tools/libxl/libxl_types.idl | |
parent | c10b492064ad83d6db8d576014cdcbe73f028e50 (diff) | |
download | xen-066e134fb33b7fe0a0a496b459bbd675b146403c.tar.gz xen-066e134fb33b7fe0a0a496b459bbd675b146403c.tar.bz2 xen-066e134fb33b7fe0a0a496b459bbd675b146403c.zip |
Add vendor_device parameter for HVM guests
The parameter determines which, if any, xen-pvdevice is specified on the
QEMU command line. The default value is 'none' which means no argument will
be passed. A value of 'xenserver' specifies a xen-pvdevice with device-id
0xc000 (the initial value in the xenserver namespace - see
docs/misc/pci-device-reservations.txt).
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- s/BUILD_INFO/BUILDINFO for consistency in LIBXL_HAVE define ]
Diffstat (limited to 'tools/libxl/libxl_types.idl')
-rw-r--r-- | tools/libxl/libxl_types.idl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl index d218a2d3d1..85341a0331 100644 --- a/tools/libxl/libxl_types.idl +++ b/tools/libxl/libxl_types.idl @@ -132,6 +132,10 @@ libxl_vga_interface_type = Enumeration("vga_interface_type", [ (2, "STD"), ], init_val = 0) +libxl_vendor_device = Enumeration("vendor_device", [ + (0, "NONE"), + (1, "XENSERVER"), + ]) # # Complex libxl types # @@ -332,6 +336,7 @@ libxl_domain_build_info = Struct("domain_build_info",[ ("soundhw", string), ("xen_platform_pci", libxl_defbool), ("usbdevice_list", libxl_string_list), + ("vendor_device", libxl_vendor_device), ])), ("pv", Struct(None, [("kernel", string), ("slack_memkb", MemKB), |