summaryrefslogtreecommitdiffstats
path: root/tests/qtest/bios-tables-test-allowed-diff.h
diff options
context:
space:
mode:
authorGreg Kurz2021-03-12 10:22:11 +0100
committerMichael S. Tsirkin2021-03-22 15:17:53 +0100
commitdb8a3772e300c1a656331a92da0785d81667dc81 (patch)
tree92806eb9243a16a19c4042e88be13e11afca1b27 /tests/qtest/bios-tables-test-allowed-diff.h
parentvhost-user: Introduce nested event loop in vhost_user_read() (diff)
downloadqemu-db8a3772e300c1a656331a92da0785d81667dc81.tar.gz
qemu-db8a3772e300c1a656331a92da0785d81667dc81.tar.xz
qemu-db8a3772e300c1a656331a92da0785d81667dc81.zip
vhost-user: Monitor slave channel in vhost_user_read()
Now that everything is in place, have the nested event loop to monitor the slave channel. The source in the main event loop is destroyed and recreated to ensure any pending even for the slave channel that was previously detected is purged. This guarantees that the main loop wont invoke slave_read() based on an event that was already handled by the nested loop. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <20210312092212.782255-7-groug@kaod.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qtest/bios-tables-test-allowed-diff.h')
0 files changed, 0 insertions, 0 deletions