[libvirt PATCH 0/9] improve firmware auto-selection

Pavel Hrdina phrdina at redhat.com
Thu Mar 18 12:26:37 UTC 2021


Cleanup the parser code and implement firmware feature filtering support
to allow users to modify firmware auto-selection behavior per VM.

More details in PATCH 08.

Pavel Hrdina (9):
  docs: improve description of secure attribute for loader element
  conf: introduce virDomainDefParseBootInitOptions
  conf: introduce virDomainDefParseBootKernelOptions
  conf: introduce virDomainDefParseBootFirmwareOptions
  conf: introduce virDomainDefParseBootLoaderOptions
  conf: introduce virDomainDefParseBootAcpiOptions
  conf: use switch in virDomainDefParseBootOptions
  conf: introduce support for firmware auto-selection feature filtering
  qemu: implement support for firmware auto-selection feature filtering

 docs/formatdomain.rst                         |  35 +-
 docs/schemas/domaincommon.rng                 |  23 +
 src/conf/domain_conf.c                        | 396 ++++++++++++------
 src/conf/domain_conf.h                        |  10 +
 src/qemu/qemu_firmware.c                      |  40 ++
 .../os-firmware-efi-invalid-type.xml          |  28 ++
 ...re-efi-no-enrolled-keys.x86_64-latest.args |  49 +++
 .../os-firmware-efi-no-enrolled-keys.xml      |  25 ++
 ...os-firmware-invalid-type.x86_64-latest.err |   1 +
 .../os-firmware-invalid-type.xml              |  28 ++
 tests/qemuxml2argvtest.c                      |   2 +
 ...aarch64-os-firmware-efi.aarch64-latest.xml |   1 +
 .../os-firmware-bios.x86_64-latest.xml        |   1 +
 ...are-efi-no-enrolled-keys.x86_64-latest.xml |  50 +++
 .../os-firmware-efi-secboot.x86_64-latest.xml |   1 +
 .../os-firmware-efi.x86_64-latest.xml         |   1 +
 tests/qemuxml2xmltest.c                       |   1 +
 tests/vmx2xmldata/vmx2xml-firmware-efi.xml    |   1 +
 18 files changed, 567 insertions(+), 126 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/os-firmware-efi-invalid-type.xml
 create mode 100644 tests/qemuxml2argvdata/os-firmware-efi-no-enrolled-keys.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/os-firmware-efi-no-enrolled-keys.xml
 create mode 100644 tests/qemuxml2argvdata/os-firmware-invalid-type.x86_64-latest.err
 create mode 100644 tests/qemuxml2argvdata/os-firmware-invalid-type.xml
 create mode 100644 tests/qemuxml2xmloutdata/os-firmware-efi-no-enrolled-keys.x86_64-latest.xml

-- 
2.30.2




More information about the libvir-list mailing list