[PATCH v2 0/8] Expose QEMU's -fw_cfg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



v2 of:

https://www.redhat.com/archives/libvir-list/2020-June/msg00139.html

diff to v1:
- Changed domain XML, pre Dan's suggestion
- Documented the feature in news

Michal Prívozník (8):
  domain_conf: Format NS always last
  virSysinfoParseXML: Mangle ctxt inside virSysinfoParseXML()
  conf: Add firmware blob configuration
  qemu: Validate firmware blob configuration
  qemu: Introduce fw_cfg capability
  secdrivers: Relabel firmware config files
  qemu: Generate command line for -fw_cfg
  news: Document -fw_cfg

 docs/formatdomain.html.in                     |  32 +++
 docs/news.xml                                 |  12 ++
 docs/schemas/domaincommon.rng                 | 143 +++++++------
 src/conf/domain_conf.c                        | 195 +++++++++++++-----
 src/conf/domain_conf.h                        |   4 +-
 src/qemu/qemu_capabilities.c                  |   4 +
 src/qemu/qemu_capabilities.h                  |   3 +
 src/qemu/qemu_command.c                       |  54 ++++-
 src/qemu/qemu_validate.c                      |  40 ++++
 src/security/security_dac.c                   |  50 +++++
 src/security/security_selinux.c               |  50 +++++
 src/security/virt-aa-helper.c                 |  12 ++
 src/util/virsysinfo.c                         |  54 ++++-
 src/util/virsysinfo.h                         |  16 +-
 .../caps_2.10.0.aarch64.xml                   |   1 +
 .../caps_2.10.0.ppc64.xml                     |   1 +
 .../caps_2.10.0.s390x.xml                     |   1 +
 .../caps_2.10.0.x86_64.xml                    |   1 +
 .../caps_2.11.0.s390x.xml                     |   1 +
 .../caps_2.11.0.x86_64.xml                    |   1 +
 .../caps_2.12.0.aarch64.xml                   |   1 +
 .../caps_2.12.0.ppc64.xml                     |   1 +
 .../caps_2.12.0.s390x.xml                     |   1 +
 .../caps_2.12.0.x86_64.xml                    |   1 +
 .../caps_2.4.0.x86_64.xml                     |   1 +
 .../caps_2.5.0.x86_64.xml                     |   1 +
 .../caps_2.6.0.aarch64.xml                    |   1 +
 .../qemucapabilitiesdata/caps_2.6.0.ppc64.xml |   1 +
 .../caps_2.6.0.x86_64.xml                     |   1 +
 .../qemucapabilitiesdata/caps_2.7.0.s390x.xml |   1 +
 .../caps_2.7.0.x86_64.xml                     |   1 +
 .../qemucapabilitiesdata/caps_2.8.0.s390x.xml |   1 +
 .../caps_2.8.0.x86_64.xml                     |   1 +
 .../qemucapabilitiesdata/caps_2.9.0.ppc64.xml |   1 +
 .../qemucapabilitiesdata/caps_2.9.0.s390x.xml |   1 +
 .../caps_2.9.0.x86_64.xml                     |   1 +
 .../qemucapabilitiesdata/caps_3.0.0.ppc64.xml |   1 +
 .../caps_3.0.0.riscv32.xml                    |   1 +
 .../caps_3.0.0.riscv64.xml                    |   1 +
 .../qemucapabilitiesdata/caps_3.0.0.s390x.xml |   1 +
 .../caps_3.0.0.x86_64.xml                     |   1 +
 .../qemucapabilitiesdata/caps_3.1.0.ppc64.xml |   1 +
 .../caps_3.1.0.x86_64.xml                     |   1 +
 .../caps_4.0.0.aarch64.xml                    |   1 +
 .../qemucapabilitiesdata/caps_4.0.0.ppc64.xml |   1 +
 .../caps_4.0.0.riscv32.xml                    |   1 +
 .../caps_4.0.0.riscv64.xml                    |   1 +
 .../qemucapabilitiesdata/caps_4.0.0.s390x.xml |   1 +
 .../caps_4.0.0.x86_64.xml                     |   1 +
 .../caps_4.1.0.x86_64.xml                     |   1 +
 .../caps_4.2.0.aarch64.xml                    |   1 +
 .../qemucapabilitiesdata/caps_4.2.0.ppc64.xml |   1 +
 .../qemucapabilitiesdata/caps_4.2.0.s390x.xml |   1 +
 .../caps_4.2.0.x86_64.xml                     |   1 +
 .../caps_5.0.0.aarch64.xml                    |   1 +
 .../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |   1 +
 .../caps_5.0.0.riscv64.xml                    |   1 +
 .../caps_5.0.0.x86_64.xml                     |   1 +
 .../caps_5.1.0.x86_64.xml                     |   1 +
 tests/qemuxml2argvdata/smbios-type-fwcfg.args |  38 ++++
 tests/qemuxml2argvdata/smbios-type-fwcfg.xml  |  63 ++++++
 tests/qemuxml2argvtest.c                      |   1 +
 .../qemuxml2xmloutdata/smbios-type-fwcfg.xml  |   1 +
 tests/qemuxml2xmltest.c                       |   1 +
 64 files changed, 700 insertions(+), 118 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/smbios-type-fwcfg.args
 create mode 100644 tests/qemuxml2argvdata/smbios-type-fwcfg.xml
 create mode 120000 tests/qemuxml2xmloutdata/smbios-type-fwcfg.xml

-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux