Signed-off-by: Jie Wang <wangji...@huawei.com>
---
tests/Makefile.include| 3 ++
tests/drive-mirror-test.c | 96 +++
2 files changed, 99 insertions(+)
create mode 100755 tests/drive-mirror-test.c
diff --git a/tests/Makefile.include b
When we call addIOThread, the epollfd created in aio_context_setup,
but not close it in the process of delIOThread, so the epollfd will leak.
Signed-off-by: Jie Wang <wangji...@huawei.com>
---
iothread.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/iothread.c b/iothread.c
index a
From: w00251574 <wangji...@huawei.com>
When we call addIOThread, the epollfd created in aio_context_setup,
but not close it in the process of delIOThread, so the epollfd will leak.
Signed-off-by: Jie Wang <wangji...@huawei.com>
---
include/block/aio.h | 8
util/aio-po
From: w00251574 <wangji...@huawei.com>
When we call addIOThread, the epollfd created in aio_context_setup,
but not close it in the process of delIOThread, so the epollfd will leak.
Signed-off-by: Jie Wang <wangji...@huawei.com>
---
include/block/aio.h | 8
util/aio-po
When we call addIOThread, the epollfd created in aio_context_setup,
but not close it in the process of delIOThread, so the epollfd will leak.
Signed-off-by: Jie Wang <wangji...@huawei.com>
---
include/block/aio.h | 8
util/aio-posix.c| 13 ++---
util/aio-win32.c
When we call addIOThread, the epollfd created in aio_context_setup,
but not close it in the process of delIOThread, so the epollfd will leak.
Signed-off-by: Jie Wang <wangji...@huawei.com>
---
include/block/aio.h | 8
util/aio-posix.c| 9 +
util/aio-win32.c| 4
epoll_available will only be set if epollfd != -1, os we
can swap the two variables in aio_epoll_disable, and
aio_context_destroy can call aio_epoll_disable directly.
Signed-off-by: Jie Wang <wangji...@huawei.com>
---
util/aio-posix.c | 10 --
1 file changed, 4 insertions(+), 6 del
if laio_init create linux_aio failed and return NULL, NULL pointer
dereference will occur when laio_attach_aio_context dereference
linux_aio in aio_get_linux_aio, so add assert to avoid it.
Signed-off-by: Jie Wang
---
util/async.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/async.c
if laio_init create linux_aio failed and return NULL, NULL pointer
dereference will occur when laio_attach_aio_context dereference
linux_aio in aio_get_linux_aio. Let's avoid it and report error.
Signed-off-by: Jie Wang
---
block/file-posix.c | 19 +--
util/async.c | 5
if laio_init create linux_aio failed and return NULL, NULL pointer
dereference will occur when laio_attach_aio_context dereference
linux_aio in aio_get_linux_aio. Let's avoid it and report error.
Signed-off-by: Jie Wang
---
block/file-posix.c | 19 +--
util/async.c | 5
:45 PM, Paolo Bonzini wrote:
>> On 28/05/19 15:06, Jie Wang wrote:
>>> if pr-helper been killed and qemu send disconnect event to libvirt
>>> and libvirt started a new pr-helper process, the new pr-heleper
>>> been killed again when qemu is connectting to the new
-off-by: Jie Wang
---
scsi/pr-manager-helper.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/scsi/pr-manager-helper.c b/scsi/pr-manager-helper.c
index 438380fced..b7341b8f47 100644
--- a/scsi/pr-manager-helper.c
+++ b/scsi/pr-manager-helper.c
@@ -120,6 +120,7 @@ static int
Does qemu-pr-helper have its own log files?
27 0x7fca423e8ecc in kvm_handle_io
28 0x7fca423ecb48 in kvm_cpu_exec
29 0x7fca424279d5 in qemu_kvm_cpu_thread_fn
30 0x7fca423c9480 in qemu_thread_start
31 0x7fca4257ff3b in ?? () from /usr/lib64/libpthread.so.0
32 0x7fca4270b550 in clone () from /usr/lib64/libc.so.6
Signed-off-by: Ji
14 matches
Mail list logo