Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtme_ng: run.py: Fix --qemu-opts option
The current virtme-run --qemu-opts work, but the vng counterpart doesn't. This is because we don't specify the number of arguments it can receive, so it fails with: ./vng -r --memory 4G --qemu-opts -device virtio-net-pci,netdev=dev1,mac=9a:e8:e9:ea:eb:ec,id=net1,vectors=9,mq=on -netdev tap,id=dev1,vhost=on,script=/etc/qemu-ifup-switch,queues=4 ... vng: error: argument --qemu-opts/-o: expected one argument The fix is to apply the same nargs value from virtme-ng. Signed-off-by: Marcos Paulo de Souza <[email protected]>
- Loading branch information