this series of patches adds support for specifying UEFI boot images for bhyve
virtual machines.
The old behaviour is kept; only when a loader pflash is specified the loader
command is omitted and adds a bootrom parameter to the bhyverun command.
Fabian Freyer (4):
bhyve: Separate out checks from virBhyveProbeCaps
bhyve: virBhyveProbeCaps: BHYVE_CAP_LPC_BOOTROM
bhyve: add support for booting from UEFI
bhyve: Test cases for UEFI bhyvexml2argvtest
src/bhyve/bhyve_capabilities.c | 59 ++++++++++++++++++----
src/bhyve/bhyve_capabilities.h | 1 +
src/bhyve/bhyve_command.c | 6 +++
src/bhyve/bhyve_driver.c | 27 ++++++++--
tests/bhyvexml2argvdata/bhyvexml2argv-nouefi.args | 9 ++++
.../bhyvexml2argvdata/bhyvexml2argv-nouefi.ldargs | 1 +
tests/bhyvexml2argvdata/bhyvexml2argv-nouefi.xml | 23 +++++++++
tests/bhyvexml2argvdata/bhyvexml2argv-uefi.args | 10 ++++
tests/bhyvexml2argvdata/bhyvexml2argv-uefi.ldargs | 1 +
tests/bhyvexml2argvdata/bhyvexml2argv-uefi.xml | 23 +++++++++
tests/bhyvexml2argvtest.c | 13 ++++-
11 files changed, 158 insertions(+), 15 deletions(-)
create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-nouefi.args
create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-nouefi.ldargs
create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-nouefi.xml
create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-uefi.args
create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-uefi.ldargs
create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-uefi.xml
--
2.7.0