Changes from v2:
- Add unittest
- Minor: new labels style and target for 1.2.4
Changes from v1:
Switch over from implicit slave device path, i.e. guessing
from <source path='/dev/nmdm0A'/> that the slave is '/dev/nmdm0B',
to
explicit master and slave device specification using
<source master='/dev/nmdm0A' slave='/dev/nmdm0B'/>.
Roman Bogorodskiy (2):
bhyve: add console support through nmdm device
bhyve: add xml2argv tests for console
src/bhyve/bhyve_command.c | 34 +++++++++++++
src/bhyve/bhyve_driver.c | 45 +++++++++++++++++
src/conf/domain_audit.c | 1 +
src/conf/domain_conf.c | 59 +++++++++++++++++++++-
src/conf/domain_conf.h | 5 ++
src/qemu/qemu_command.c | 1 +
src/qemu/qemu_monitor_json.c | 1 +
tests/bhyvexml2argvdata/bhyvexml2argv-console.args | 4 ++
tests/bhyvexml2argvdata/bhyvexml2argv-console.xml | 23 +++++++++
tests/bhyvexml2argvdata/bhyvexml2argv-serial.args | 4 ++
tests/bhyvexml2argvdata/bhyvexml2argv-serial.xml | 23 +++++++++
tests/bhyvexml2argvtest.c | 2 +
12 files changed, 201 insertions(+), 1 deletion(-)
create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-console.args
create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-console.xml
create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-serial.args
create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-serial.xml
--
1.8.4.2