]> xenbits.xensource.com Git - libvirt.git/commit
vmx: write firmware back from autoselection
authorPino Toscano <ptoscano@redhat.com>
Tue, 9 Apr 2019 14:04:32 +0000 (16:04 +0200)
committerCole Robinson <crobinso@redhat.com>
Tue, 16 Apr 2019 00:03:55 +0000 (20:03 -0400)
commitb4e34d1083bc769a467770454261cf7e653c27e5
treedd1f85b3817543088bca0ebe932e5450008deb94
parent9bb6e4e739fa900b41e0f1983747c68279a25dd9
vmx: write firmware back from autoselection

When writing the VMX file from the domain XML, write the firmware key
according to the firmware autoselection.  Though, at the moment only
'efi' is supported.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
src/vmx/vmx.c
tests/xml2vmxdata/xml2vmx-firmware-efi.vmx [new file with mode: 0644]
tests/xml2vmxdata/xml2vmx-firmware-efi.xml [new file with mode: 0644]
tests/xml2vmxtest.c