qemu-devel
[Top][All Lists]
Advanced

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

[Bug 1708617] Re: qemu2.9 meet a question using reconnect about ovs+dpdk


From: Launchpad Bug Tracker
Subject: [Bug 1708617] Re: qemu2.9 meet a question using reconnect about ovs+dpdk
Date: Thu, 05 Nov 2020 04:17:22 -0000

[Expired for QEMU because there has been no activity for 60 days.]

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

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

Title:
  qemu2.9 meet a question using reconnect about ovs+dpdk

Status in QEMU:
  Expired

Bug description:
  env:
  qemu-2.9
  dpdk-16.11
  ovs-2.6.1
  host os:Linux compute 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 
2016 x86_64 x86_64 x86_64 GNU/Linux
  guest os is same with host

  1. ovs service is normal
  2. start 2 qemu vm, using vhostuser port as server
  taskset 0x3f qemu-system-x86_64 -cpu host -smp 2,cores=2 -drive 
file=$QCOW2_IMAGE -m 4096M --enable-kvm -name $VM_NAME -nographic -object 
memory-backend-file,id=mem,size=$GUEST_MEM,mem-path=/dev/hugepages,share=on 
-numa node,memdev=mem -mem-prealloc -chardev 
socket,id=char1,path=$VHOST_SOCK_DIR/dpdkvhostuser0,server -netdev 
type=vhost-user,id=mynet1,chardev=char1,vhostforce,queues=2 -device 
virtio-net-pci,mac=00:00:00:00:00:01,netdev=mynet1,mq=on,vectors=6  -nographic 
-vnc :0 
  qemu-system-x86_64: -chardev 
socket,id=char1,path=/usr/local/var/run/openvswitch/dpdkvhostuser0,server: QEMU 
waiting for connection on: 
disconnected:unix:/usr/local/var/run/openvswitch/dpdkvhostuser0,server

  taskset 0x3f qemu-system-x86_64 -cpu host -smp 2,cores=2 -drive 
file=$QCOW2_IMAGE -m 4096M --enable-kvm -name $VM_NAME -nographic -object 
memory-backend-file,id=mem,size=$GUEST_MEM,mem-path=/dev/hugepages,share=on 
-numa node,memdev=mem -mem-prealloc -chardev 
socket,id=char1,path=$VHOST_SOCK_DIR/dpdkvhostuser0,server -netdev 
type=vhost-user,id=mynet1,chardev=char1,vhostforce,queues=2 -device 
virtio-net-pci,mac=00:00:00:00:00:01,netdev=mynet1,mq=on,vectors=6  -nographic 
-vnc :0 
  qemu-system-x86_64: -chardev 
socket,id=char1,path=/usr/local/var/run/openvswitch/dpdkvhostuser0,server: QEMU 
waiting for connection on: 
disconnected:unix:/usr/local/var/run/openvswitch/dpdkvhostuser1,server

  3. add br and vhostuser port as client
  ovs-vsctl add-br br1 -- set bridge br1 datapath_type=netdev
  ovs-vsctl add-port br1 dpdkvhostuser0 -- set Interface dpdkvhostuser0 
type=dpdkvhostuserclient  
options:vhost-server-path="/usr/local/var/run/openvswitch/dpdkvhostuser0"       
              
  ovs-vsctl add-port br1 dpdkvhostuser1 -- set Interface dpdkvhostuser1 
type=dpdkvhostuserclient  
options:vhost-server-path="/usr/local/var/run/openvswitch/dpdkvhostuser1"       
              
                        
  4. ping between 2 vm is ok
  5. restart ovs process
   systemctl restart openvswitch

  6. there is a question ping between 2 vm error

  7. change qemu from 2.9 to 2.7, everything become ok

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



reply via email to

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