1 | The following changes since commit 64175afc695c0672876fbbfc31b299c86d562cb4: | 1 | The following changes since commit b33afc415622e5eb26e0f14fd27eb86e32a5472e: |
---|---|---|---|
2 | 2 | ||
3 | arm_gicv3: Fix ICC_BPR1 reset value when EL3 not implemented (2017-06-07 17:21:44 +0100) | 3 | Merge remote-tracking branch 'remotes/stsquad/tags/pull-ci-updates-for-softfreeze-021117-2' into staging (2017-11-03 10:08:34 +0000) |
4 | 4 | ||
5 | are available in the git repository at: | 5 | are available in the git repository at: |
6 | 6 | ||
7 | git://github.com/codyprime/qemu-kvm-jtc.git tags/block-pull-request | 7 | git://github.com/stefanha/qemu.git tags/block-pull-request |
8 | 8 | ||
9 | for you to fetch changes up to 56faeb9bb6872b3f926b3b3e0452a70beea10af2: | 9 | for you to fetch changes up to ef9115dd7c82a196b18cac46784724bdebf01fbc: |
10 | 10 | ||
11 | block/gluster.c: Handle qdict_array_entries() failure (2017-06-09 08:41:29 -0400) | 11 | aio-posix: drop QEMU_AIO_POLL_MAX_NS env var (2017-11-06 11:04:38 +0000) |
12 | 12 | ||
13 | ---------------------------------------------------------------- | 13 | ---------------------------------------------------------------- |
14 | Gluster patch | 14 | |
15 | ---------------------------------------------------------------- | 15 | ---------------------------------------------------------------- |
16 | 16 | ||
17 | Peter Maydell (1): | 17 | Stefan Hajnoczi (1): |
18 | block/gluster.c: Handle qdict_array_entries() failure | 18 | aio-posix: drop QEMU_AIO_POLL_MAX_NS env var |
19 | 19 | ||
20 | block/gluster.c | 3 +-- | 20 | util/aio-posix.c | 7 ------- |
21 | 1 file changed, 1 insertion(+), 2 deletions(-) | 21 | 1 file changed, 7 deletions(-) |
22 | 22 | ||
23 | -- | 23 | -- |
24 | 2.9.3 | 24 | 2.13.6 |
25 | 25 | ||
26 | 26 | diff view generated by jsdifflib |
1 | From: Peter Maydell <peter.maydell@linaro.org> | 1 | This hunk should not have been merged but I forgot to remove it. Let's |
---|---|---|---|
2 | remove it before it slips into a QEMU release. | ||
2 | 3 | ||
3 | In qemu_gluster_parse_json(), the call to qdict_array_entries() | 4 | ¯\_(ツ)_/¯ |
4 | could return a negative error code, which we were ignoring | ||
5 | because we assigned the result to an unsigned variable. | ||
6 | Fix this by using the 'int' type instead, which matches the | ||
7 | return type of qdict_array_entries() and also the type | ||
8 | we use for the loop enumeration variable 'i'. | ||
9 | 5 | ||
10 | (Spotted by Coverity, CID 1360960.) | 6 | Reviewed-by: Thomas Huth <thuth@redhat.com> |
7 | Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> | ||
8 | Message-id: 20171103154041.12617-1-stefanha@redhat.com | ||
9 | Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> | ||
10 | --- | ||
11 | util/aio-posix.c | 7 ------- | ||
12 | 1 file changed, 7 deletions(-) | ||
11 | 13 | ||
12 | Signed-off-by: Peter Maydell <peter.maydell@linaro.org> | 14 | diff --git a/util/aio-posix.c b/util/aio-posix.c |
13 | Reviewed-by: Eric Blake <eblake@redhat.com> | ||
14 | Reviewed-by: Jeff Cody <jcody@redhat.com> | ||
15 | Message-id: 1496682098-1540-1-git-send-email-peter.maydell@linaro.org | ||
16 | Signed-off-by: Jeff Cody <jcody@redhat.com> | ||
17 | --- | ||
18 | block/gluster.c | 3 +-- | ||
19 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
20 | |||
21 | diff --git a/block/gluster.c b/block/gluster.c | ||
22 | index XXXXXXX..XXXXXXX 100644 | 15 | index XXXXXXX..XXXXXXX 100644 |
23 | --- a/block/gluster.c | 16 | --- a/util/aio-posix.c |
24 | +++ b/block/gluster.c | 17 | +++ b/util/aio-posix.c |
25 | @@ -XXX,XX +XXX,XX @@ static int qemu_gluster_parse_json(BlockdevOptionsGluster *gconf, | 18 | @@ -XXX,XX +XXX,XX @@ bool aio_poll(AioContext *ctx, bool blocking) |
26 | Error *local_err = NULL; | 19 | |
27 | char *str = NULL; | 20 | void aio_context_setup(AioContext *ctx) |
28 | const char *ptr; | 21 | { |
29 | - size_t num_servers; | 22 | - /* TODO remove this in final patch submission */ |
30 | - int i, type; | 23 | - if (getenv("QEMU_AIO_POLL_MAX_NS")) { |
31 | + int i, type, num_servers; | 24 | - fprintf(stderr, "The QEMU_AIO_POLL_MAX_NS environment variable has " |
32 | 25 | - "been replaced with -object iothread,poll-max-ns=NUM\n"); | |
33 | /* create opts info from runtime_json_opts list */ | 26 | - exit(1); |
34 | opts = qemu_opts_create(&runtime_json_opts, NULL, 0, &error_abort); | 27 | - } |
28 | - | ||
29 | #ifdef CONFIG_EPOLL_CREATE1 | ||
30 | assert(!ctx->epollfd); | ||
31 | ctx->epollfd = epoll_create1(EPOLL_CLOEXEC); | ||
35 | -- | 32 | -- |
36 | 2.9.3 | 33 | 2.13.6 |
37 | 34 | ||
38 | 35 | diff view generated by jsdifflib |