]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_firmware: select correct firmware for AMD SEV-ES
authorPavel Hrdina <phrdina@redhat.com>
Tue, 25 May 2021 07:56:38 +0000 (09:56 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 14 Jun 2021 12:23:21 +0000 (14:23 +0200)
commitf14ca48ef42e552d97cac096968e95680b3c75b4
tree4c1a2aefc7095f6146f3977aeb0eabe4073398f4
parent2b20f3e0fa9156b3856d6e746e151a1da127fbbb
qemu_firmware: select correct firmware for AMD SEV-ES

When using firmware auto-selection and user enables AMD SEV-ES we need
to pick correct firmware that actually supports it. This can be detected
by having `amd-sev-es` in the firmware JSON description.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_firmware.c