aboutsummaryrefslogtreecommitdiff
path: root/trace/control.h
diff options
context:
space:
mode:
authorEugenio Pérez <eperezma@redhat.com>2022-08-23 20:20:07 +0200
committerJason Wang <jasowang@redhat.com>2022-09-02 10:22:39 +0800
commit8b64e486423b09db4463799727bf1fad62fe496a (patch)
tree339363c435781f56900e9b41734d5bdb95c7b34c /trace/control.h
parent5b590f51b923776a14d3bcafcb393279c1b72022 (diff)
downloadqemu-8b64e486423b09db4463799727bf1fad62fe496a.zip
qemu-8b64e486423b09db4463799727bf1fad62fe496a.tar.gz
qemu-8b64e486423b09db4463799727bf1fad62fe496a.tar.bz2
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 'trace/control.h')
0 files changed, 0 insertions, 0 deletions