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

[libvirt] [PATCH 0/4] libxl: Add support for UEFI using OVMF



This series adds support for UEFI, via OVMF, to the libxl driver.

Patch1 moves the capabilities code from libxl_conf.{ch} to the
new files libxl_capabilities.{ch}.

Patch2 implements connectGetDomainCapabilities, allowing
advertisement of the default OVMF firmware path.

Patch3 implements conversion of xl.cfg <-> libvirt domXML.

And patch4 finally maps the relevant virDomainLoaderDef fields
to libxl_domain_build_info.

Jim Fehlig (4):
  libxl: introduce libxl_capabilities.{ch}
  libxl: implement connectGetDomainCapabilities
  xenconfig: support bios=ovmf xl.cfg
  libxl: Add support for ovmf firmware

 po/POTFILES.in                                     |   1 +
 src/Makefile.am                                    |  11 +-
 src/libxl/libxl_capabilities.c                     | 557 +++++++++++++++++++++
 src/libxl/libxl_capabilities.h                     |  54 ++
 src/libxl/libxl_conf.c                             | 423 +---------------
 src/libxl/libxl_conf.h                             |  18 +-
 src/libxl/libxl_domain.c                           |   1 +
 src/libxl/libxl_driver.c                           |  69 +++
 src/xenconfig/xen_xl.c                             |  50 +-
 tests/Makefile.am                                  |   5 +
 tests/domaincapsschemadata/domaincaps-xenfv.xml    |  51 ++
 tests/domaincapsschemadata/domaincaps-xenpv.xml    |  44 ++
 tests/domaincapstest.c                             |  33 ++
 tests/testutilsxen.h                               |   1 +
 tests/xlconfigdata/test-fullvirt-ovmf-override.cfg |  27 +
 tests/xlconfigdata/test-fullvirt-ovmf-override.xml |  58 +++
 tests/xlconfigdata/test-fullvirt-ovmf.cfg          |  26 +
 tests/xlconfigdata/test-fullvirt-ovmf.xml          |  58 +++
 tests/xlconfigtest.c                               |   2 +
 19 files changed, 1046 insertions(+), 443 deletions(-)
 create mode 100644 src/libxl/libxl_capabilities.c
 create mode 100644 src/libxl/libxl_capabilities.h
 create mode 100644 tests/domaincapsschemadata/domaincaps-xenfv.xml
 create mode 100644 tests/domaincapsschemadata/domaincaps-xenpv.xml
 create mode 100644 tests/xlconfigdata/test-fullvirt-ovmf-override.cfg
 create mode 100644 tests/xlconfigdata/test-fullvirt-ovmf-override.xml
 create mode 100644 tests/xlconfigdata/test-fullvirt-ovmf.cfg
 create mode 100644 tests/xlconfigdata/test-fullvirt-ovmf.xml

-- 
2.1.4


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