[libvirt] [PATCH] vhost-user: no need to remove chardev when remove netdev

Michal Privoznik mprivozn at redhat.com
Thu Jan 4 12:36:07 UTC 2018


On 12/18/2017 10:43 AM, linzhecheng wrote:
> We use virsh detach-device to hot-unplug a vhost-user net card,
> and libvirtd will issue qmp_netdev_del, qmp_chardev_remove and
> qmp_netdev_del. However, in qmp_netdev_del, qemu will remove
> the chardev when cleanup the netdev. So libvirtd has no need to issue
> qmp_chardev_remove to qemu any more.

Is this true for all versions of qemu? Or do these lines hurt some use
cases?

Michal




More information about the libvir-list mailing list