You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR gives the users two ways to insert virtio-net devices:
1. Insert before VMM launched. The parameter is
`--virnets '[{"iface_id":"eth0","host_dev_name":"tap0","num_queues":2,"queue_size":0,"allow_duplicate_mac":true}]'`.
2. Insert hotplug devices after VMM launched. The parameter is
`--hotplug-virnets '[{"iface_id":"eth0","host_dev_name":"tap0","num_queues":2,"queue_size":0,"allow_duplicate_mac":true}]'`
Both of these parameters receive an array of VirtioNetDeviceConfigInfo in the
format of JSON to make them more configurable.
Fixes: #15
Signed-off-by: Xuewei Niu <niuxuewei.nxw@antgroup.com>
0 commit comments