Skip to contentSkip to conversation

aio-posix: drop QEMU_AIO_POLL_MAX_NS env var

PATCH Applied Stefan Hajnoczi 1 participant 2 messages Nov 3, 2017 – Nov 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 aio-posix: drop QEMU_AIO_POLL_MAX_NS env var

This hunk should not have been merged but I forgot to remove it. Let's remove it before it slips into a QEMU release.

¯\_(ツ)_/¯

---
 util/aio-posix.c | 7 -------
 1 file changed, 7 deletions(-)
util/aio-posix.c +0 -7
index 5946ac09f0..1427f49b4a 100644
@@ -701,13 +701,6 @@ bool aio_poll(AioContext *ctx, bool blocking)
 
 void aio_context_setup(AioContext *ctx)
 {
-    /* TODO remove this in final patch submission */
-    if (getenv("QEMU_AIO_POLL_MAX_NS")) {
-        fprintf(stderr, "The QEMU_AIO_POLL_MAX_NS environment variable has "
-                "been replaced with -object iothread,poll-max-ns=NUM\n");
-        exit(1);
-    }
-
 #ifdef CONFIG_EPOLL_CREATE1
     assert(!ctx->epollfd);
     ctx->epollfd = epoll_create1(EPOLL_CLOEXEC);
Signature · 1 line
2.13.6