summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorStefan Hajnoczi2017-11-03 16:40:41 +0100
committerStefan Hajnoczi2017-11-06 12:04:38 +0100
commitef9115dd7c82a196b18cac46784724bdebf01fbc (patch)
tree4f141256265a7c917f11770f76a42f88869fae6c /util
parentMerge remote-tracking branch 'remotes/stsquad/tags/pull-ci-updates-for-softfr... (diff)
downloadqemu-ef9115dd7c82a196b18cac46784724bdebf01fbc.tar.gz
qemu-ef9115dd7c82a196b18cac46784724bdebf01fbc.tar.xz
qemu-ef9115dd7c82a196b18cac46784724bdebf01fbc.zip
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. ¯\_(ツ)_/¯ 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>
Diffstat (limited to 'util')
-rw-r--r--util/aio-posix.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/util/aio-posix.c b/util/aio-posix.c
index 5946ac09f0..1427f49b4a 100644
--- a/util/aio-posix.c
+++ b/util/aio-posix.c
@@ -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);