[Qemu-devel] [PATCH 17/18] async: remove unnecessary inc/dec pairs

2017-02-13 Thread Paolo Bonzini
Pull the increment/decrement pair out of aio_bh_poll and into the callers. Reviewed-by: Stefan Hajnoczi Signed-off-by: Paolo Bonzini --- util/aio-posix.c | 8 +++- util/aio-win32.c | 8 util/async.c | 12 ++-- 3 files changed, 13 insertions(+), 15 deletions(-) diff -

[Qemu-devel] [PATCH 17/18] async: remove unnecessary inc/dec pairs

2017-02-13 Thread Paolo Bonzini
Pull the increment/decrement pair out of aio_bh_poll and into the callers. Reviewed-by: Stefan Hajnoczi Signed-off-by: Paolo Bonzini --- util/aio-posix.c | 8 +++- util/aio-win32.c | 8 util/async.c | 12 ++-- 3 files changed, 13 insertions(+), 15 deletions(-) diff -

[Qemu-devel] [PATCH 17/18] async: remove unnecessary inc/dec pairs

2017-02-01 Thread Paolo Bonzini
Pull the increment/decrement pair out of aio_bh_poll and into the callers. Reviewed-by: Stefan Hajnoczi Signed-off-by: Paolo Bonzini --- util/aio-posix.c | 8 +++- util/aio-win32.c | 8 util/async.c | 12 ++-- 3 files changed, 13 insertions(+), 15 deletions(-) diff -