qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] QEMU crashed when reconnecting over iscsi protocol


From: Bob Chen
Subject: [Qemu-block] QEMU crashed when reconnecting over iscsi protocol
Date: Wed, 19 Dec 2018 19:34:09 +0800

I looked into the source code, and found some reconnect method from libiscsi. Are they able to work?

QEMU: 2.12.1
libiscsi: 1.18.0  (https://github.com/sahlberg/libiscsi)


(gdb) f
#0  0x00007fcd956933bd in iscsi_reconnect (iscsi=0x7fcd97f206d0) at connect.c:461
461 memcpy(tmp_iscsi->old_iscsi, iscsi, sizeof(struct iscsi_context));
(gdb) bt
#0  0x00007fcd956933bd in iscsi_reconnect (iscsi=0x7fcd97f206d0) at connect.c:461
#1  0x00007fcd956a4ccd in iscsi_service_reconnect_if_loggedin (iscsi=0x7fcd97f206d0) at socket.c:879
#2  0x00007fcd956a50d2 in iscsi_tcp_service (iscsi=0x7fcd97f206d0, revents=<value optimized out>) at socket.c:989
#3  0x00007fcd9674b737 in iscsi_process_read (arg=0x7fcd97f1e680) at block/iscsi.c:371
#4  0x00007fcd967e5b47 in aio_dispatch_handlers (ctx=0x7fcd97ee48d0) at util/aio-posix.c:406
#5  0x00007fcd967e5ce9 in aio_dispatch (ctx=0x7fcd97ee48d0) at util/aio-posix.c:437
#6  0x00007fcd967e038c in aio_ctx_dispatch (source=0x7fcd97ee48d0, callback=0, user_data=0x0) at util/async.c:261
#7  0x00007fcd93b1135e in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fcd967e424e in glib_pollfds_poll () at util/main-loop.c:215
#9  0x00007fcd967e4368 in os_host_main_loop_wait (timeout=987000000) at util/main-loop.c:263
#10 0x00007fcd967e4438 in main_loop_wait (nonblocking=0) at util/main-loop.c:522
#11 0x00007fcd963c4b29 in main_loop () at vl.c:1943
#12 0x00007fcd963cca8d in main (argc=62, argv=0x7ffff89f4208, envp=0x7ffff89f4400) at vl.c:4734

reply via email to

[Prev in Thread] Current Thread [Next in Thread]