Changes since v1:
- Make the default loader uboot path configurable
in bhyve.conf. It might be useful for users and also
way simpler to mock in the test than the hardcoded value
in the code.
Roman Bogorodskiy (2):
bhyve: improve loader handling on arm64
bhyve: conf: do not hardcode datadir in bhyve.conf
src/bhyve/{bhyve.conf => bhyve.conf.in} | 7 +++++-
src/bhyve/bhyve_conf.c | 8 +++++++
src/bhyve/bhyve_domain.c | 23 +++++++++++++++++++
src/bhyve/bhyve_utils.h | 2 ++
src/bhyve/meson.build | 13 +++++++++--
.../aarch64/bhyvexml2argv-base.args | 1 +
.../aarch64/bhyvexml2argv-base.ldargs | 8 +------
.../aarch64/bhyvexml2argv-console.args | 1 +
.../aarch64/bhyvexml2argv-console.ldargs | 8 +------
tests/bhyvexml2argvmock.c | 20 +++++++++++++++-
tests/bhyvexml2argvtest.c | 2 ++
.../aarch64/bhyvexml2xmlout-base.xml | 1 +
.../aarch64/bhyvexml2xmlout-console.xml | 1 +
tests/bhyvexml2xmltest.c | 4 ++++
14 files changed, 81 insertions(+), 18 deletions(-)
rename src/bhyve/{bhyve.conf => bhyve.conf.in} (73%)
--
2.52.0