[libvirt] [PATCH v1 0/3] OVMF exposure

Michal Privoznik mprivozn at redhat.com
Fri Aug 8 10:17:40 UTC 2014


Not so long ago, QEMU introduced support for UEFI instead of
standard BIOS. Our domain XML needs to be adjusted, however.
Users are expected to use mainly OVMF which works in two modes:

1) UEFI code and UEFI variables are mixed in one file

2) The code and variables are split in two separate files

For the case number one we are almost ready. The second case,
however, needs more changes on our side. Especially if you
consider fact, that the UEFI code can be shared among multiple
domains while the variables store can't.

Michal Privoznik (3):
  conf: Extend <loader/> and introduce <nvram/>
  qemu: Implement extended loader and nvram
  qemu: Automatically create NVRAM store

 configure.ac                                       |  27 +++++
 docs/formatdomain.html.in                          |  19 +++-
 docs/schemas/domaincommon.rng                      |  21 ++++
 libvirt.spec.in                                    |   2 +
 src/Makefile.am                                    |   1 +
 src/conf/domain_conf.c                             |  87 +++++++++++++-
 src/conf/domain_conf.h                             |  22 +++-
 src/libvirt_private.syms                           |   3 +
 src/qemu/libvirtd_qemu.aug                         |   3 +
 src/qemu/qemu.conf                                 |   9 ++
 src/qemu/qemu_command.c                            |  87 +++++++++++++-
 src/qemu/qemu_conf.c                               |   8 ++
 src/qemu/qemu_conf.h                               |   3 +
 src/qemu/qemu_process.c                            | 125 +++++++++++++++++++++
 src/qemu/test_libvirtd_qemu.aug.in                 |   1 +
 src/security/security_dac.c                        |   8 ++
 src/security/security_selinux.c                    |   8 ++
 src/security/virt-aa-helper.c                      |   4 +-
 src/vbox/vbox_tmpl.c                               |   7 +-
 src/xenapi/xenapi_driver.c                         |   3 +-
 src/xenxs/xen_sxpr.c                               |  16 +--
 src/xenxs/xen_xm.c                                 |   8 +-
 .../qemuxml2argvdata/qemuxml2argv-bios-nvram.args  |  10 ++
 tests/qemuxml2argvdata/qemuxml2argv-bios-nvram.xml |  40 +++++++
 tests/qemuxml2argvtest.c                           |   2 +
 .../qemuxml2xmlout-pci-bridge-many-disks.xml       |   2 +-
 tests/qemuxml2xmltest.c                            |   2 +
 tests/sexpr2xmldata/sexpr2xml-fv-autoport.xml      |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-empty-kernel.xml  |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-force-hpet.xml    |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-force-nohpet.xml  |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-kernel.xml        |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-legacy-vfb.xml    |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-localtime.xml     |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-net-ioemu.xml     |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-net-netfront.xml  |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-parallel-tcp.xml  |   2 +-
 .../sexpr2xml-fv-serial-dev-2-ports.xml            |   2 +-
 .../sexpr2xml-fv-serial-dev-2nd-port.xml           |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-serial-file.xml   |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-serial-null.xml   |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-serial-pipe.xml   |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-serial-pty.xml    |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-serial-stdio.xml  |   2 +-
 .../sexpr2xml-fv-serial-tcp-telnet.xml             |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-serial-tcp.xml    |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-serial-udp.xml    |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-serial-unix.xml   |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml     |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-sound.xml         |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-usbmouse.xml      |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-usbtablet.xml     |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-utc.xml           |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv-v2.xml            |   2 +-
 tests/sexpr2xmldata/sexpr2xml-fv.xml               |   2 +-
 tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml  |   2 +-
 tests/xmconfigdata/test-escape-paths.xml           |   2 +-
 tests/xmconfigdata/test-fullvirt-force-hpet.xml    |   2 +-
 tests/xmconfigdata/test-fullvirt-force-nohpet.xml  |   2 +-
 tests/xmconfigdata/test-fullvirt-localtime.xml     |   2 +-
 tests/xmconfigdata/test-fullvirt-net-ioemu.xml     |   2 +-
 tests/xmconfigdata/test-fullvirt-net-netfront.xml  |   2 +-
 tests/xmconfigdata/test-fullvirt-new-cdrom.xml     |   2 +-
 tests/xmconfigdata/test-fullvirt-old-cdrom.xml     |   2 +-
 tests/xmconfigdata/test-fullvirt-parallel-tcp.xml  |   2 +-
 .../test-fullvirt-serial-dev-2-ports.xml           |   2 +-
 .../test-fullvirt-serial-dev-2nd-port.xml          |   2 +-
 tests/xmconfigdata/test-fullvirt-serial-file.xml   |   2 +-
 tests/xmconfigdata/test-fullvirt-serial-null.xml   |   2 +-
 tests/xmconfigdata/test-fullvirt-serial-pipe.xml   |   2 +-
 tests/xmconfigdata/test-fullvirt-serial-pty.xml    |   2 +-
 tests/xmconfigdata/test-fullvirt-serial-stdio.xml  |   2 +-
 .../test-fullvirt-serial-tcp-telnet.xml            |   2 +-
 tests/xmconfigdata/test-fullvirt-serial-tcp.xml    |   2 +-
 tests/xmconfigdata/test-fullvirt-serial-udp.xml    |   2 +-
 tests/xmconfigdata/test-fullvirt-serial-unix.xml   |   2 +-
 tests/xmconfigdata/test-fullvirt-sound.xml         |   2 +-
 tests/xmconfigdata/test-fullvirt-usbmouse.xml      |   2 +-
 tests/xmconfigdata/test-fullvirt-usbtablet.xml     |   2 +-
 tests/xmconfigdata/test-fullvirt-utc.xml           |   2 +-
 tests/xmconfigdata/test-no-source-cdrom.xml        |   2 +-
 tests/xmconfigdata/test-pci-devs.xml               |   2 +-
 82 files changed, 556 insertions(+), 82 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-bios-nvram.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-bios-nvram.xml

-- 
1.8.5.5




More information about the libvir-list mailing list