mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-04-01 20:04:37 +00:00
tests: Use "--net" parameter for vhost-user-net setup
Use the newly unified parameter for setting up vhost-user-net based networking. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
a831aa214c
commit
8f096b8be5
@ -2671,9 +2671,9 @@ mod tests {
|
||||
.as_str(),
|
||||
])
|
||||
.args(&[
|
||||
"--vhost-user-net",
|
||||
"--net",
|
||||
format!(
|
||||
"mac={},sock=/tmp/vunet.sock,num_queues=4,queue_size=1024",
|
||||
"vhost_user=true,mac={},socket=/tmp/vunet.sock,num_queues=4,queue_size=1024",
|
||||
guest.network.guest_mac
|
||||
)
|
||||
.as_str(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user