]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Implement extended loader and nvram
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 7 Aug 2014 11:50:00 +0000 (13:50 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 10 Sep 2014 07:38:07 +0000 (09:38 +0200)
commit542899168c382610dbad9a597d27ef3d7c699f68
treeac5912a1361bd0635744ad430fca7b09cb79d66a
parent68bf13dbef8342eaee0bf57c73cebb60b7de11e8
qemu: Implement extended loader and nvram

QEMU now supports UEFI with the following command line:

  -drive file=/usr/share/OVMF/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \
  -drive file=/usr/share/OVMF/OVMF_VARS.fd,if=pflash,format=raw,unit=1 \

where the first line reflects <loader> and the second one <nvram>.
Moreover, these two lines obsolete the -bios argument.

Note that UEFI is unusable without ACPI. This is handled properly now.
Among with this extension, the variable file is expected to be
writable and hence we need security drivers to label it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
src/qemu/qemu_command.c
src/security/security_dac.c
src/security/security_selinux.c
tests/qemuxml2argvdata/qemuxml2argv-bios-nvram.args [new file with mode: 0644]
tests/qemuxml2argvtest.c