summaryrefslogtreecommitdiffstats
path: root/util/aio-posix.h
diff options
context:
space:
mode:
authorPeter Maydell2022-03-21 16:27:13 +0100
committerPeter Maydell2022-03-21 16:27:13 +0100
commit2028ab513bf0232841a909e1368309858919dbcc (patch)
treebe4adb69facd4afd2f9d1dc59963294eb1000fb4 /util/aio-posix.h
parentMerge tag 'pull-ppc-20220321' of https://github.com/legoater/qemu into staging (diff)
parentaio-posix: fix spurious ->poll_ready() callbacks in main loop (diff)
downloadqemu-2028ab513bf0232841a909e1368309858919dbcc.tar.gz
qemu-2028ab513bf0232841a909e1368309858919dbcc.tar.xz
qemu-2028ab513bf0232841a909e1368309858919dbcc.zip
Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging
Pull request Bug fixes for 7.0. # gpg: Signature made Thu 17 Mar 2022 16:42:22 GMT # gpg: using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8 # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full] # gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>" [full] # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8 * tag 'block-pull-request' of https://gitlab.com/stefanha/qemu: aio-posix: fix spurious ->poll_ready() callbacks in main loop aio-posix: fix build failure io_uring 2.2 Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'util/aio-posix.h')
-rw-r--r--util/aio-posix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/aio-posix.h b/util/aio-posix.h
index 7f2c37a684..80b927c7f4 100644
--- a/util/aio-posix.h
+++ b/util/aio-posix.h
@@ -37,6 +37,7 @@ struct AioHandler {
unsigned flags; /* see fdmon-io_uring.c */
#endif
int64_t poll_idle_timeout; /* when to stop userspace polling */
+ bool poll_ready; /* has polling detected an event? */
bool is_external;
};