[libvirt] [PATCH 1/3] bhyve: implement support for commandline args

Roman Bogorodskiy bogorodskiy at gmail.com
Sun Jan 27 07:37:44 UTC 2019


  John Ferlan wrote:

> > diff --git a/tests/bhyvexml2argvdata/bhyvexml2argv-commandline.args b/tests/bhyvexml2argvdata/bhyvexml2argv-commandline.args
> > new file mode 100644
> > index 0000000000..cb21b99cd6
> > --- /dev/null
> > +++ b/tests/bhyvexml2argvdata/bhyvexml2argv-commandline.args
> > @@ -0,0 +1,9 @@
> > +/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
> 
> From the not that matters but viewpoint:
> 
> -s 3:0,virtio-net,faketapdev,mac=52:54:00:b9:94:02 \
> ARGUMENT1 ARGUMENT2 bhyve
> 

It fails test-wrap-argv this way:

  GEN      test-wrap-argv
--- tests/bhyvexml2argvdata/bhyvexml2argv-commandline.args      2019-01-27 11:36:11.493854000 +0400
+++ -   2019-01-27 11:36:20.275734000 +0400
@@ -6,5 +6,4 @@
 -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
+-s 3:0,virtio-net,faketapdev,mac=52:54:00:b9:94:02 ARGUMENT1 ARGUMENT2 bhyve
Incorrect line wrapping in tests/bhyvexml2argvdata/bhyvexml2argv-commandline.args
Use test-wrap-argv.pl to wrap test data files
gmake: *** [cfg.mk:1149: test-wrap-argv] Error 1


Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190127/065363fc/attachment-0001.sig>


More information about the libvir-list mailing list