Searched hist:"8 b64e486423b09db4463799727bf1fad62fe496a" (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/virtio/ |
H A D | vhost-shadow-virtqueue.c | 8b64e486423b09db4463799727bf1fad62fe496a Tue Aug 23 18:20:07 UTC 2022 Eugenio Pérez <eperezma@redhat.com> 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>
|