]> xenbits.xensource.com Git - libvirt.git/commit
vmx: convert firmware config for autoselection
authorPino Toscano <ptoscano@redhat.com>
Tue, 9 Apr 2019 14:04:31 +0000 (16:04 +0200)
committerCole Robinson <crobinso@redhat.com>
Tue, 16 Apr 2019 00:03:55 +0000 (20:03 -0400)
commit9bb6e4e739fa900b41e0f1983747c68279a25dd9
treeb962f996d6ff2caffae22e28f74005e0677af5d9
parentfc79e73836cef55b6a3af29d79ac3a34adce84b7
vmx: convert firmware config for autoselection

Convert the firmware key to a type of autoselected firmware.

Only the 'efi' firmware is allowed for now, in case the key is present.
It seems VMware (at least ESXi) does not write the key in VMX files when
setting BIOS as firmware.

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