[PATCH 0/2] Solve problem of hot removal of virtio-net-pci

Yuri Benditovich posted 2 patches 4 years, 4 months ago
Test docker-quick@centos7 failed
Test asan failed
Test checkpatch failed
Test FreeBSD failed
Test docker-mingw@fedora failed
Test docker-clang@ubuntu failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20191226043649.14481-1-yuri.benditovich@daynix.com
Maintainers: Jason Wang <jasowang@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>
hw/net/virtio-net.c | 3 ++-
hw/virtio/virtio.c  | 5 +++++
2 files changed, 7 insertions(+), 1 deletion(-)
[PATCH 0/2] Solve problem of hot removal of virtio-net-pci
Posted by Yuri Benditovich 4 years, 4 months ago
There is regression of hotplug removal of virtio-net-pci on q35
introduced long time ago in 3.0.0 with commit:
 48564041a73adbbff52834f9edbe3806fceefab7
 exec: reintroduce MemoryRegion caching

virtio-net does not destroy some of caching resources upon
hot unplug and on further hot plug the device with the same
name can not be added.
These 2 patches solve the problem.

Yuri Benditovich (2):
  virtio: reset region cache when on queue deletion
  virtio-net: delete also control queue when TX/RX deleted

 hw/net/virtio-net.c | 3 ++-
 hw/virtio/virtio.c  | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

-- 
2.17.1