Skip to contentSkip to conversation

aio-posix: drop QEMU_AIO_POLL_MAX_NS env var

PATCH In review Stefan Hajnoczi 3 participants 3 messages Jan 26, 2017 – Nov 3, 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.

¯\_(ツ)_/¯

---
 aio-posix.c | 7 -------
 1 file changed, 7 deletions(-)
aio-posix.c +0 -7
index 9453d83..9a6348b 100644
@@ -723,13 +723,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.9.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Stefan Hajnoczi

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

Too late - looks like this patch has never been committed :-(

Quoted 15 lines
---
 aio-posix.c | 7 -------
 1 file changed, 7 deletions(-)
aio-posix.c +0 -0
index 9453d83..9a6348b 100644
@@ -723,13 +723,6 @@ bool aio_poll(AioContext *ctx, bool blocking)
 
 void aio_context_setup(AioContext *ctx)
 {

aio-posix.c bool aio_poll(AioContext *ctx, bool blocking) · line 728

Quoted 10 lines
aio-posix.c +0 -7
-    /* 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);

Could we get this at least added for QEMU 2.11 ?

#2 lore raw
Quoted 34 lines · Thomas Huth
Quoted 2 lines · Stefan Hajnoczi

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

Too late - looks like this patch has never been committed :-(

Quoted 15 lines
---
 aio-posix.c | 7 -------
 1 file changed, 7 deletions(-)
aio-posix.c +0 -0
index 9453d83..9a6348b 100644
@@ -723,13 +723,6 @@ bool aio_poll(AioContext *ctx, bool blocking)
 
 void aio_context_setup(AioContext *ctx)
 {

aio-posix.c bool aio_poll(AioContext *ctx, bool blocking) · line 728

Quoted 10 lines
aio-posix.c +0 -7
-    /* 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);

Could we get this at least added for QEMU 2.11 ?

Quoted 1 line

I am sending a new version of this patch (it needs to be rebased).

Stefan