diff options
author | Sergio Lopez <slp@redhat.com> | 2022-03-04 11:08:52 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-03-06 06:19:47 -0500 |
commit | ff5eb77b8af2710acaf5041b117490dd6bedcebd (patch) | |
tree | 637d2dfd4e6ddca2784dcc542932b0dd20a626a1 /monitor/monitor-internal.h | |
parent | 3bcf0fb3f2b4ab4ceeab488af1a3f7f8b8d70ba4 (diff) | |
download | qemu-ff5eb77b8af2710acaf5041b117490dd6bedcebd.zip qemu-ff5eb77b8af2710acaf5041b117490dd6bedcebd.tar.gz qemu-ff5eb77b8af2710acaf5041b117490dd6bedcebd.tar.bz2 |
vhost: use wfd on functions setting vring call fd
When ioeventfd is emulated using qemu_pipe(), only EventNotifier's wfd
can be used for writing.
Use the recently introduced event_notifier_get_wfd() function to
obtain the fd that our peer must use to signal the vring.
Signed-off-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220304100854.14829-3-slp@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'monitor/monitor-internal.h')
0 files changed, 0 insertions, 0 deletions