Skip to contentSkip to conversation

vhost-user: can not detach chardev which is used by vhost-user backend

Qemu-devel Michael liu 2 participants 3 messages Dec 31, 2015 – Jan 19, 2021

lore
Share & tools
lore
#0 lore raw

Public bug reported:

I launch a VM which use vhost-user netdevice as follows.When detach the netdevice in qemu monitor, the chardevice which used by the netdevice also should be deatched.The netdevice can be detached sucessfully.But the chardevice failed when it was being detaching. Full command line :
qemu-system-x86_64 \
-cpu host -boot c -hda /home/lining/ubuntu_12_04.img -snapshot -m 2048 -smp 2 \
--enable-kvm -name "client1" -vnc :1 \
-object memory-backend-file,id=mem,size=2048M,mem-path=/dev/hugepages,share=on -numa node,memdev=mem \
-chardev socket,id=chr1,path=/opt/network/ovdk/bin/vhost-user \
-netdev vhost-user,id=net12,chardev=chr1,ifname=port80, vhostforce \
-device virtio-net-pci,netdev=net12,mac=00:00:00:00:00:01,\
csum=off,gso=off,guest_tso4=off,guest_tso6=off,guest_ecn=off,guest_ufo=off,any_layout=off

** Affects: qemu
Importance: Undecided
Status: New

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

Title:
  vhost-user: can not detach chardev which is used by vhost-user backend

Status in QEMU:
  New

Bug description:
  I launch a VM which use vhost-user netdevice as follows.When detach the netdevice in qemu monitor, the chardevice which used by the netdevice also should be deatched.The netdevice can be detached sucessfully.But the chardevice  failed when it was being detaching.   
  Full command line :
  qemu-system-x86_64 \
  -cpu host -boot c -hda /home/lining/ubuntu_12_04.img -snapshot -m 2048 -smp 2 \
  --enable-kvm -name "client1" -vnc :1 \
  -object memory-backend-file,id=mem,size=2048M,mem-path=/dev/hugepages,share=on -numa node,memdev=mem \
  -chardev socket,id=chr1,path=/opt/network/ovdk/bin/vhost-user \
  -netdev vhost-user,id=net12,chardev=chr1,ifname=port80, vhostforce \
  -device virtio-net-pci,netdev=net12,mac=00:00:00:00:00:01,\
  csum=off,gso=off,guest_tso4=off,guest_tso6=off,guest_ecn=off,guest_ufo=off,any_layout=off

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1530278/+subscriptions
#1 lore raw

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". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.

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

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

Title:
  vhost-user: can not detach chardev which is used by vhost-user backend

Status in QEMU:
  Incomplete

Bug description:
  I launch a VM which use vhost-user netdevice as follows.When detach the netdevice in qemu monitor, the chardevice which used by the netdevice also should be deatched.The netdevice can be detached sucessfully.But the chardevice  failed when it was being detaching.   
  Full command line :
  qemu-system-x86_64 \
  -cpu host -boot c -hda /home/lining/ubuntu_12_04.img -snapshot -m 2048 -smp 2 \
  --enable-kvm -name "client1" -vnc :1 \
  -object memory-backend-file,id=mem,size=2048M,mem-path=/dev/hugepages,share=on -numa node,memdev=mem \
  -chardev socket,id=chr1,path=/opt/network/ovdk/bin/vhost-user \
  -netdev vhost-user,id=net12,chardev=chr1,ifname=port80, vhostforce \
  -device virtio-net-pci,netdev=net12,mac=00:00:00:00:00:01,\
  csum=off,gso=off,guest_tso4=off,guest_tso6=off,guest_ecn=off,guest_ufo=off,any_layout=off

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1530278/+subscriptions
#2 lore raw
In reply to Michael liu

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

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

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

Title:
  vhost-user: can not detach chardev which is used by vhost-user backend

Status in QEMU:
  Expired

Bug description:
  I launch a VM which use vhost-user netdevice as follows.When detach the netdevice in qemu monitor, the chardevice which used by the netdevice also should be deatched.The netdevice can be detached sucessfully.But the chardevice  failed when it was being detaching.   
  Full command line :
  qemu-system-x86_64 \
  -cpu host -boot c -hda /home/lining/ubuntu_12_04.img -snapshot -m 2048 -smp 2 \
  --enable-kvm -name "client1" -vnc :1 \
  -object memory-backend-file,id=mem,size=2048M,mem-path=/dev/hugepages,share=on -numa node,memdev=mem \
  -chardev socket,id=chr1,path=/opt/network/ovdk/bin/vhost-user \
  -netdev vhost-user,id=net12,chardev=chr1,ifname=port80, vhostforce \
  -device virtio-net-pci,netdev=net12,mac=00:00:00:00:00:01,\
  csum=off,gso=off,guest_tso4=off,guest_tso6=off,guest_ecn=off,guest_ufo=off,any_layout=off

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