diff options
author | Roman Bogorodskiy <bogorodskiy@gmail.com> | 2019-01-17 19:07:20 +0400 |
---|---|---|
committer | Roman Bogorodskiy <bogorodskiy@gmail.com> | 2019-01-27 14:54:52 +0400 |
commit | 0c8df11071cc91e1b34d15ad62fe8c3fab10191c (patch) | |
tree | 40db8a8f573a68759eec9a30fc9487bbdb337dc5 /tests/bhyvexml2argvtest.c | |
parent | 001495909b0c11e21723671f541cae66912a40f4 (diff) | |
download | libvirt-0c8df11071cc91e1b34d15ad62fe8c3fab10191c.tar.gz |
bhyve: implement support for commandline args
Implement support for passing custom command line arguments
to bhyve using the 'bhyve:commandline' element:
<bhyve:commandline>
<bhyve:arg value='-newarg'/>
</bhyve:commandline>
* Define virDomainXMLNamespace for the bhyve driver, which
at this point supports only the 'commandline' element
described above,
* Update command generation code to inject these command line
arguments between driver-generated arguments and the vmname
positional argument.
Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
Diffstat (limited to 'tests/bhyvexml2argvtest.c')
-rw-r--r-- | tests/bhyvexml2argvtest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bhyvexml2argvtest.c b/tests/bhyvexml2argvtest.c index d1b486fa64..4a7f65a8e2 100644 --- a/tests/bhyvexml2argvtest.c +++ b/tests/bhyvexml2argvtest.c @@ -210,6 +210,7 @@ mymain(void) DO_TEST("vnc-autoport"); DO_TEST("cputopology"); DO_TEST_FAILURE("cputopology-nvcpu-mismatch"); + DO_TEST("commandline"); /* Address allocation tests */ DO_TEST("addr-single-sata-disk"); |