]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
aio-posix: drop QEMU_AIO_POLL_MAX_NS env var
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 3 Nov 2017 15:40:41 +0000 (15:40 +0000)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 6 Nov 2017 11:04:38 +0000 (11:04 +0000)
This hunk should not have been merged but I forgot to remove it.  Let's
remove it before it slips into a QEMU release.

¯\_(ツ)_/¯

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20171103154041.12617-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
util/aio-posix.c

index 5946ac09f05a4b92fe2dd0787b01382a8551b249..1427f49b4a98dbbdc5c3d626e84fea62cb348952 100644 (file)
@@ -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);