mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00:00
0c8df11071
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>
10 lines
180 B
Plaintext
10 lines
180 B
Plaintext
/usr/sbin/bhyve \
|
|
-c 1 \
|
|
-m 214 \
|
|
-u \
|
|
-H \
|
|
-P \
|
|
-s 0:0,hostbridge \
|
|
-s 2:0,ahci,hd:/tmp/freebsd.img \
|
|
-s 3:0,virtio-net,faketapdev,mac=52:54:00:b9:94:02 ARGUMENT1 ARGUMENT2 bhyve
|