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.h | |
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.h')
-rw-r--r-- | tools/libxl/libxl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index 72e5efb6d1..030aa86d52 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -68,6 +68,13 @@ */ /* + * LIBXL_HAVE_FIRMWARE_PASSTHROUGH indicates the feature for + * passing in SMBIOS and ACPI firmware to HVM guests is present + * in the library. + */ +#define LIBXL_HAVE_FIRMWARE_PASSTHROUGH 1 + +/* * libxl ABI compatibility * * The only guarantee which libxl makes regarding ABI compatibility |