]> xenbits.xensource.com Git - libvirt.git/commit
libxl: Add support for ovmf firmware
authorJim Fehlig <jfehlig@suse.com>
Wed, 20 Apr 2016 21:14:35 +0000 (15:14 -0600)
committerJim Fehlig <jfehlig@suse.com>
Mon, 13 Jun 2016 20:13:17 +0000 (14:13 -0600)
commit00bcb45d8d12abfe76ce5d7c9b1abc768bc8e7ce
treeb087383d4b29d179836acaf05721639ab4f5d6c9
parent53d98ccea74cfde2d87157d0e5927892901dd79e
libxl: Add support for ovmf firmware

Populate libxl_domain_build_info struct with bios and firmware
info from virDomainLoaderDef.

Note: Currently libxl only allows specifying the type of BIOS.
For type LIBXL_BIOS_TYPE_OVMF, the firmware path is configured
when building Xen using '--with-system-ovmf='. If not specified,
LIBXL_FIRMWARE_DIR/ovmf.bin is used. In the future, Xen will
support a user-specified firmware path. See

http://lists.xenproject.org/archives/html/xen-devel/2016-03/msg01628.html

Once that work is merged into xen.git, the libvirt libxl driver
will be able to honor a user-specified path. In the meantime use
the implicit path, which is tolerable since it is advertised in
domcapabilities.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/libxl/libxl_conf.c