diff options
author | Ross Philipson <ross.philipson@citrix.com> | 2013-02-15 13:32:16 +0000 |
---|---|---|
committer | Ross Philipson <ross.philipson@citrix.com> | 2013-02-15 13:32:16 +0000 |
commit | dcd468855afed1fd205278beb60a4e3df21b3289 (patch) | |
tree | 715db917fd8d01be83f1761d63ae18fef894733a /tools/libxl/libxl_types.idl | |
parent | a234675150adfca751ed36c0ef68712160ff1ab9 (diff) | |
download | xen-dcd468855afed1fd205278beb60a4e3df21b3289.tar.gz xen-dcd468855afed1fd205278beb60a4e3df21b3289.tar.bz2 xen-dcd468855afed1fd205278beb60a4e3df21b3289.zip |
libxl: HVM firmware passthrough support
This patch introduces support for two new parameters in libxl:
smbios_firmware=<path_to_smbios_structures_file>
acpi_firmware=<path_to_acpi_tables_file>
The changes are primarily in the domain building code where the firmware files
are read and passed to libxc for loading into the new guest. After the domain
building call to libxc, the addresses for the loaded blobs are returned and
written to xenstore.
LIBXL_HAVE_FIRMWARE_PASSTHROUGH is defined in libxl.h to allow users to
determine if the feature is present.
This patch also updates the xl.cfg man page with descriptions of the two new
parameters for firmware passthrough.
Signed-off-by: Ross Philipson <ross.philipson@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/libxl_types.idl')
-rw-r--r-- | tools/libxl/libxl_types.idl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl index acc4bc9d9c..89a80300fe 100644 --- a/tools/libxl/libxl_types.idl +++ b/tools/libxl/libxl_types.idl @@ -308,6 +308,8 @@ libxl_domain_build_info = Struct("domain_build_info",[ ("vpt_align", libxl_defbool), ("timer_mode", libxl_timer_mode), ("nested_hvm", libxl_defbool), + ("smbios_firmware", string), + ("acpi_firmware", string), ("nographic", libxl_defbool), ("vga", libxl_vga_interface_info), ("vnc", libxl_vnc_info), |