qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1687599] Re: Bind 2nd VM to same OVS vhost-user port caused 1st vm


From: Thomas Huth
Subject: [Bug 1687599] Re: Bind 2nd VM to same OVS vhost-user port caused 1st vm traffic broken
Date: Mon, 09 Nov 2020 13:37:05 -0000

The QEMU project is currently considering to move its bug tracking to another 
system. For this we need to know which bugs are still valid and which could be 
closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state 
back to "New" within the next 60 days, otherwise this report will be marked as 
"Expired". Thank you and sorry for the inconvenience.

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1687599

Title:
  Bind 2nd VM to same OVS vhost-user port caused 1st vm traffic broken

Status in QEMU:
  Incomplete

Bug description:
  Binding 2nd VM to same OVS vhost-user port caused 1st vm traffic
  broken. If it illegal to share same vhost port, how about the first VM
  open the path exclusively?

  #OVS side to create the vhost-user port:
  ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev
  ovs-vsctl add-port br0 phy0 -- set Interface phy0 type=dpdk 
options:dpdk-devargs=0000:0a:00.0
  ovs-vsctl add-port br0 dpdkvhostuser0 -- set Interface dpdkvhostuser0 
type=dpdkvhostuser

  #QEMU VM1
  qemu-system-x86_64 -name vm1 -cpu host -enable-kvm -m 3072 -drive 
file=/opt/ubuntu1.qcow2 -numa node,memdev=mem -mem-prealloc -smp 
sockets=1,cores=2 -object 
memory-backend-file,id=mem,size=3072m,mem-path=/dev/hugepages,share=on -chardev 
socket,id=char0,path=/usr/local/var/run/openvswitch/dpdkvhostuser0 -netdev 
type=vhost-user,id=mynet1,chardev=char0,vhostforce -device 
virtio-net-pci,mac=00:00:00:00:00:01,netdev=mynet1,mrg_rxbuf=off

  #VM2
  qemu-system-x86_64 -name vm2 -cpu host -enable-kvm -m 3072 -drive 
file=/opt/ubuntu2.qcow2 -numa node,memdev=mem -mem-prealloc -smp 
sockets=1,cores=2 -object 
memory-backend-file,id=mem,size=3072m,mem-path=/dev/hugepages,share=on -chardev 
socket,id=char0,path=/usr/local/var/run/openvswitch/dpdkvhostuser0 -netdev 
type=vhost-user,id=mynet1,chardev=char0,vhostforce -device 
virtio-net-pci,mac=00:00:00:00:00:01,netdev=mynet1,mrg_rxbuf=off

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1687599/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]