All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yuri Benditovich <yuri.benditovich@daynix.com>
To: mst@redhat.com, jasowang@redhat.com, qemu-devel@nongnu.org
Cc: yan@daynix.com
Subject: [PATCH 0/2] Solve problem of hot removal of virtio-net-pci
Date: Thu, 26 Dec 2019 06:36:47 +0200	[thread overview]
Message-ID: <20191226043649.14481-1-yuri.benditovich@daynix.com> (raw)

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



             reply	other threads:[~2019-12-26  4:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-26  4:36 Yuri Benditovich [this message]
2019-12-26  4:36 ` [PATCH 1/2] virtio: reset region cache when on queue deletion Yuri Benditovich
2019-12-26  8:58   ` Jason Wang
2019-12-26  9:29     ` Yuri Benditovich
2020-01-01 23:50       ` Michael S. Tsirkin
2020-01-02  7:09         ` Yuri Benditovich
2020-01-05 11:39           ` Michael S. Tsirkin
2020-01-05 16:21             ` Yuri Benditovich
2020-01-06  9:10               ` Yuri Benditovich
2020-01-06  9:57                 ` Michael S. Tsirkin
2020-01-06 10:37                   ` Yuri Benditovich
2020-01-07 10:42                     ` Yuri Benditovich
2020-01-05 12:21   ` Michael S. Tsirkin
2020-01-05 16:14     ` Yuri Benditovich
2019-12-26  4:36 ` [PATCH 2/2] virtio-net: delete also control queue when TX/RX deleted Yuri Benditovich
2020-01-01 23:43   ` Michael S. Tsirkin
2020-01-02  6:52     ` Yuri Benditovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191226043649.14481-1-yuri.benditovich@daynix.com \
    --to=yuri.benditovich@daynix.com \
    --cc=jasowang@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=yan@daynix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.