summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEugenio Pérez2022-08-23 20:20:07 +0200
committerJason Wang2022-09-02 04:22:39 +0200
commit8b64e486423b09db4463799727bf1fad62fe496a (patch)
tree339363c435781f56900e9b41734d5bdb95c7b34c /include
parentvdpa: Make SVQ vring unmapping return void (diff)
downloadqemu-8b64e486423b09db4463799727bf1fad62fe496a.tar.gz
qemu-8b64e486423b09db4463799727bf1fad62fe496a.tar.xz
qemu-8b64e486423b09db4463799727bf1fad62fe496a.zip
vhost: Always store new kick fd on vhost_svq_set_svq_kick_fd
We can unbind twice a file descriptor if we call twice vhost_svq_set_svq_kick_fd because of this. Since it comes from vhost and not from SVQ, that file descriptor could be a different thing that guest's vhost notifier. Likewise, it can happens the same if a guest start and stop the device multiple times. Reported-by: Lei Yang <leiyang@redhat.com> Fixes: dff4426fa6 ("vhost: Add Shadow VirtQueue kick forwarding capabilities") Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions