From 256709d2eb3fd80d768a99964be5caa61effa2a0 Mon Sep 17 00:00:00 2001 From: Christian Krinitsin Date: Tue, 3 Jun 2025 12:04:13 +0000 Subject: add new classifier result --- results/classifier/01/other/02364653 | 363 -- results/classifier/01/other/02572177 | 421 -- results/classifier/01/other/04472277 | 576 --- results/classifier/01/other/12869209 | 88 - results/classifier/01/other/13442371 | 369 -- results/classifier/01/other/14488057 | 711 ---- results/classifier/01/other/16056596 | 98 - results/classifier/01/other/16201167 | 100 - results/classifier/01/other/16228234 | 1844 --------- results/classifier/01/other/17743720 | 771 ---- results/classifier/01/other/21221931 | 328 -- results/classifier/01/other/21247035 | 1321 ------ results/classifier/01/other/23300761 | 313 -- results/classifier/01/other/23448582 | 265 -- results/classifier/01/other/25892827 | 1077 ----- results/classifier/01/other/31349848 | 154 - results/classifier/01/other/32484936 | 223 - results/classifier/01/other/35170175 | 521 --- results/classifier/01/other/42613410 | 149 - results/classifier/01/other/42974450 | 429 -- results/classifier/01/other/43643137 | 538 --- results/classifier/01/other/48245039 | 530 --- results/classifier/01/other/55247116 | 1310 ------ results/classifier/01/other/55367348 | 532 --- results/classifier/01/other/55753058 | 293 -- results/classifier/01/other/56309929 | 180 - results/classifier/01/other/56937788 | 344 -- results/classifier/01/other/57195159 | 315 -- results/classifier/01/other/57231878 | 242 -- results/classifier/01/other/57756589 | 1421 ------- results/classifier/01/other/59540920 | 376 -- results/classifier/01/other/60339453 | 61 - results/classifier/01/other/64571620 | 785 ---- results/classifier/01/other/65781993 | 2793 ------------- results/classifier/01/other/66743673 | 364 -- results/classifier/01/other/67821138 | 199 - results/classifier/01/other/68897003 | 716 ---- results/classifier/01/other/70021271 | 7448 ---------------------------------- results/classifier/01/other/70416488 | 1179 ------ results/classifier/01/other/74715356 | 126 - results/classifier/01/other/79834768 | 409 -- results/classifier/01/other/81775929 | 235 -- results/classifier/01/other/85542195 | 120 - results/classifier/01/other/88225572 | 2900 ------------- results/classifier/01/other/88281850 | 281 -- results/classifier/01/other/92957605 | 418 -- results/classifier/01/other/95154278 | 155 - results/classifier/01/other/99674399 | 148 - 48 files changed, 34539 deletions(-) delete mode 100644 results/classifier/01/other/02364653 delete mode 100644 results/classifier/01/other/02572177 delete mode 100644 results/classifier/01/other/04472277 delete mode 100644 results/classifier/01/other/12869209 delete mode 100644 results/classifier/01/other/13442371 delete mode 100644 results/classifier/01/other/14488057 delete mode 100644 results/classifier/01/other/16056596 delete mode 100644 results/classifier/01/other/16201167 delete mode 100644 results/classifier/01/other/16228234 delete mode 100644 results/classifier/01/other/17743720 delete mode 100644 results/classifier/01/other/21221931 delete mode 100644 results/classifier/01/other/21247035 delete mode 100644 results/classifier/01/other/23300761 delete mode 100644 results/classifier/01/other/23448582 delete mode 100644 results/classifier/01/other/25892827 delete mode 100644 results/classifier/01/other/31349848 delete mode 100644 results/classifier/01/other/32484936 delete mode 100644 results/classifier/01/other/35170175 delete mode 100644 results/classifier/01/other/42613410 delete mode 100644 results/classifier/01/other/42974450 delete mode 100644 results/classifier/01/other/43643137 delete mode 100644 results/classifier/01/other/48245039 delete mode 100644 results/classifier/01/other/55247116 delete mode 100644 results/classifier/01/other/55367348 delete mode 100644 results/classifier/01/other/55753058 delete mode 100644 results/classifier/01/other/56309929 delete mode 100644 results/classifier/01/other/56937788 delete mode 100644 results/classifier/01/other/57195159 delete mode 100644 results/classifier/01/other/57231878 delete mode 100644 results/classifier/01/other/57756589 delete mode 100644 results/classifier/01/other/59540920 delete mode 100644 results/classifier/01/other/60339453 delete mode 100644 results/classifier/01/other/64571620 delete mode 100644 results/classifier/01/other/65781993 delete mode 100644 results/classifier/01/other/66743673 delete mode 100644 results/classifier/01/other/67821138 delete mode 100644 results/classifier/01/other/68897003 delete mode 100644 results/classifier/01/other/70021271 delete mode 100644 results/classifier/01/other/70416488 delete mode 100644 results/classifier/01/other/74715356 delete mode 100644 results/classifier/01/other/79834768 delete mode 100644 results/classifier/01/other/81775929 delete mode 100644 results/classifier/01/other/85542195 delete mode 100644 results/classifier/01/other/88225572 delete mode 100644 results/classifier/01/other/88281850 delete mode 100644 results/classifier/01/other/92957605 delete mode 100644 results/classifier/01/other/95154278 delete mode 100644 results/classifier/01/other/99674399 (limited to 'results/classifier/01/other') diff --git a/results/classifier/01/other/02364653 b/results/classifier/01/other/02364653 deleted file mode 100644 index 0142a965..00000000 --- a/results/classifier/01/other/02364653 +++ /dev/null @@ -1,363 +0,0 @@ -other: 0.956 -semantic: 0.942 -instruction: 0.927 -mistranslation: 0.912 - -[Qemu-devel] [BUG] Inappropriate size of target_sigset_t - -Hello, Peter, Laurent, - -While working on another problem yesterday, I think I discovered a -long-standing bug in QEMU Linux user mode: our target_sigset_t structure is -eight times smaller as it should be! - -In this code segment from syscalls_def.h: - -#ifdef TARGET_MIPS -#define TARGET_NSIG 128 -#else -#define TARGET_NSIG 64 -#endif -#define TARGET_NSIG_BPW TARGET_ABI_BITS -#define TARGET_NSIG_WORDS (TARGET_NSIG / TARGET_NSIG_BPW) - -typedef struct { - abi_ulong sig[TARGET_NSIG_WORDS]; -} target_sigset_t; - -... TARGET_ABI_BITS should be replaced by eight times smaller constant (in -fact, semantically, we need TARGET_ABI_BYTES, but it is not defined) (what is -needed is actually "a byte per signal" in target_sigset_t, and we allow "a bit -per signal"). - -All this probably sounds to you like something impossible, since this code is -in QEMU "since forever", but I checked everything, and the bug seems real. I -wish you can prove me wrong. - -I just wanted to let you know about this, given the sensitive timing of current -softfreeze, and the fact that I won't be able to do more investigation on this -in coming weeks, since I am busy with other tasks, but perhaps you can analyze -and do something which you consider appropriate. - -Yours, -Aleksandar - -Le 03/07/2019 à 21:46, Aleksandar Markovic a écrit : -> -Hello, Peter, Laurent, -> -> -While working on another problem yesterday, I think I discovered a -> -long-standing bug in QEMU Linux user mode: our target_sigset_t structure is -> -eight times smaller as it should be! -> -> -In this code segment from syscalls_def.h: -> -> -#ifdef TARGET_MIPS -> -#define TARGET_NSIG 128 -> -#else -> -#define TARGET_NSIG 64 -> -#endif -> -#define TARGET_NSIG_BPW TARGET_ABI_BITS -> -#define TARGET_NSIG_WORDS (TARGET_NSIG / TARGET_NSIG_BPW) -> -> -typedef struct { -> -abi_ulong sig[TARGET_NSIG_WORDS]; -> -} target_sigset_t; -> -> -... TARGET_ABI_BITS should be replaced by eight times smaller constant (in -> -fact, semantically, we need TARGET_ABI_BYTES, but it is not defined) (what is -> -needed is actually "a byte per signal" in target_sigset_t, and we allow "a -> -bit per signal"). -TARGET_NSIG is divided by TARGET_ABI_BITS which gives you the number of -abi_ulong words we need in target_sigset_t. - -> -All this probably sounds to you like something impossible, since this code is -> -in QEMU "since forever", but I checked everything, and the bug seems real. I -> -wish you can prove me wrong. -> -> -I just wanted to let you know about this, given the sensitive timing of -> -current softfreeze, and the fact that I won't be able to do more -> -investigation on this in coming weeks, since I am busy with other tasks, but -> -perhaps you can analyze and do something which you consider appropriate. -If I compare with kernel, it looks good: - -In Linux: - - arch/mips/include/uapi/asm/signal.h - - #define _NSIG 128 - #define _NSIG_BPW (sizeof(unsigned long) * 8) - #define _NSIG_WORDS (_NSIG / _NSIG_BPW) - - typedef struct { - unsigned long sig[_NSIG_WORDS]; - } sigset_t; - -_NSIG_BPW is 8 * 8 = 64 on MIPS64 or 4 * 8 = 32 on MIPS - -In QEMU: - -TARGET_NSIG_BPW is TARGET_ABI_BITS which is TARGET_LONG_BITS which is -64 on MIPS64 and 32 on MIPS. - -I think there is no problem. - -Thanks, -Laurent - -From: Laurent Vivier -> -If I compare with kernel, it looks good: -> -... -> -I think there is no problem. -Sure, thanks for such fast response - again, I am glad if you are right. -However, for some reason, glibc (and musl too) define sigset_t differently than -kernel. Please take a look. I am not sure if this is covered fine in our code. - -Yours, -Aleksandar - -> -Thanks, -> -Laurent - -On Wed, 3 Jul 2019 at 21:20, Aleksandar Markovic wrote: -> -> -From: Laurent Vivier -> -> If I compare with kernel, it looks good: -> -> ... -> -> I think there is no problem. -> -> -Sure, thanks for such fast response - again, I am glad if you are right. -> -However, for some reason, glibc (and musl too) define sigset_t differently -> -than kernel. Please take a look. I am not sure if this is covered fine in our -> -code. -Yeah, the libc definitions of sigset_t don't match the -kernel ones (this is for obscure historical reasons IIRC). -We're providing implementations of the target -syscall interface, so our target_sigset_t should be the -target kernel's version (and the target libc's version doesn't -matter to us). On the other hand we will be using the -host libc version, I think, so a little caution is required -and it's possible we have some bugs in our code. - -thanks --- PMM - -> -From: Peter Maydell -> -> -On Wed, 3 Jul 2019 at 21:20, Aleksandar Markovic wrote: -> -> -> -> From: Laurent Vivier -> -> > If I compare with kernel, it looks good: -> -> > ... -> -> > I think there is no problem. -> -> -> -> Sure, thanks for such fast response - again, I am glad if you are right. -> -> However, for some reason, glibc (and musl too) define sigset_t differently -> -> than kernel. Please take a look. I am not sure if this is covered fine in -> -> our code. -> -> -Yeah, the libc definitions of sigset_t don't match the -> -kernel ones (this is for obscure historical reasons IIRC). -> -We're providing implementations of the target -> -syscall interface, so our target_sigset_t should be the -> -target kernel's version (and the target libc's version doesn't -> -matter to us). On the other hand we will be using the -> -host libc version, I think, so a little caution is required -> -and it's possible we have some bugs in our code. -OK, I gather than this is not something that requires our immediate attention -(for 4.1), but we can analyze it later on. - -Thanks for response!! - -Sincerely, -Aleksandar - -> -thanks -> --- PMM - -Le 03/07/2019 à 22:28, Peter Maydell a écrit : -> -On Wed, 3 Jul 2019 at 21:20, Aleksandar Markovic wrote: -> -> -> -> From: Laurent Vivier -> ->> If I compare with kernel, it looks good: -> ->> ... -> ->> I think there is no problem. -> -> -> -> Sure, thanks for such fast response - again, I am glad if you are right. -> -> However, for some reason, glibc (and musl too) define sigset_t differently -> -> than kernel. Please take a look. I am not sure if this is covered fine in -> -> our code. -> -> -Yeah, the libc definitions of sigset_t don't match the -> -kernel ones (this is for obscure historical reasons IIRC). -> -We're providing implementations of the target -> -syscall interface, so our target_sigset_t should be the -> -target kernel's version (and the target libc's version doesn't -> -matter to us). On the other hand we will be using the -> -host libc version, I think, so a little caution is required -> -and it's possible we have some bugs in our code. -It's why we need host_to_target_sigset_internal() and -target_to_host_sigset_internal() that translates bits and bytes between -guest kernel interface and host libc interface. - -void host_to_target_sigset_internal(target_sigset_t *d, - const sigset_t *s) -{ - int i; - target_sigemptyset(d); - for (i = 1; i <= TARGET_NSIG; i++) { - if (sigismember(s, i)) { - target_sigaddset(d, host_to_target_signal(i)); - } - } -} - -void target_to_host_sigset_internal(sigset_t *d, - const target_sigset_t *s) -{ - int i; - sigemptyset(d); - for (i = 1; i <= TARGET_NSIG; i++) { - if (target_sigismember(s, i)) { - sigaddset(d, target_to_host_signal(i)); - } - } -} - -Thanks, -Laurent - -Hi Aleksandar, - -On Wed, Jul 3, 2019 at 12:48 PM Aleksandar Markovic - wrote: -> -#define TARGET_NSIG_BPW TARGET_ABI_BITS -> -#define TARGET_NSIG_WORDS (TARGET_NSIG / TARGET_NSIG_BPW) -> -> -typedef struct { -> -abi_ulong sig[TARGET_NSIG_WORDS]; -> -} target_sigset_t; -> -> -... TARGET_ABI_BITS should be replaced by eight times smaller constant (in -> -fact, -> -semantically, we need TARGET_ABI_BYTES, but it is not defined) (what is needed -> -is actually "a byte per signal" in target_sigset_t, and we allow "a bit per -> -signal"). -Why do we need a byte per target signal, if the functions in linux-user/signal.c -operate with bits? - --- -Thanks. --- Max - -> -Why do we need a byte per target signal, if the functions in -> -linux-user/signal.c -> -operate with bits? -Max, - -I did not base my findings on code analysis, but on dumping size/offsets of -elements of some structures, as they are emulated in QEMU, and in real systems. -So, I can't really answer your question. - -Yours, -Aleksandar - -> --- -> -Thanks. -> --- Max - diff --git a/results/classifier/01/other/02572177 b/results/classifier/01/other/02572177 deleted file mode 100644 index 55a82678..00000000 --- a/results/classifier/01/other/02572177 +++ /dev/null @@ -1,421 +0,0 @@ -other: 0.869 -instruction: 0.794 -semantic: 0.770 -mistranslation: 0.693 - -[Qemu-devel] 答复: Re: [BUG]COLO failover hang - -hi. - - -I test the git qemu master have the same problem. - - -(gdb) bt - - -#0 qio_channel_socket_readv (ioc=0x7f65911b4e50, iov=0x7f64ef3fd880, niov=1, -fds=0x0, nfds=0x0, errp=0x0) at io/channel-socket.c:461 - - -#1 0x00007f658e4aa0c2 in qio_channel_read (address@hidden, address@hidden "", -address@hidden, address@hidden) at io/channel.c:114 - - -#2 0x00007f658e3ea990 in channel_get_buffer (opaque=<optimized out>, -buf=0x7f65907cb838 "", pos=<optimized out>, size=32768) at -migration/qemu-file-channel.c:78 - - -#3 0x00007f658e3e97fc in qemu_fill_buffer (f=0x7f65907cb800) at -migration/qemu-file.c:295 - - -#4 0x00007f658e3ea2e1 in qemu_peek_byte (address@hidden, address@hidden) at -migration/qemu-file.c:555 - - -#5 0x00007f658e3ea34b in qemu_get_byte (address@hidden) at -migration/qemu-file.c:568 - - -#6 0x00007f658e3ea552 in qemu_get_be32 (address@hidden) at -migration/qemu-file.c:648 - - -#7 0x00007f658e3e66e5 in colo_receive_message (f=0x7f65907cb800, -address@hidden) at migration/colo.c:244 - - -#8 0x00007f658e3e681e in colo_receive_check_message (f=<optimized out>, -address@hidden, address@hidden) - - - at migration/colo.c:264 - - -#9 0x00007f658e3e740e in colo_process_incoming_thread (opaque=0x7f658eb30360 -<mis_current.31286>) at migration/colo.c:577 - - -#10 0x00007f658be09df3 in start_thread () from /lib64/libpthread.so.0 - - -#11 0x00007f65881983ed in clone () from /lib64/libc.so.6 - - -(gdb) p ioc->name - - -$2 = 0x7f658ff7d5c0 "migration-socket-incoming" - - -(gdb) p ioc->features Do not support QIO_CHANNEL_FEATURE_SHUTDOWN - - -$3 = 0 - - - - - -(gdb) bt - - -#0 socket_accept_incoming_migration (ioc=0x7fdcceeafa90, condition=G_IO_IN, -opaque=0x7fdcceeafa90) at migration/socket.c:137 - - -#1 0x00007fdcc6966350 in g_main_dispatch (context=<optimized out>) at -gmain.c:3054 - - -#2 g_main_context_dispatch (context=<optimized out>, address@hidden) at -gmain.c:3630 - - -#3 0x00007fdccb8a6dcc in glib_pollfds_poll () at util/main-loop.c:213 - - -#4 os_host_main_loop_wait (timeout=<optimized out>) at util/main-loop.c:258 - - -#5 main_loop_wait (address@hidden) at util/main-loop.c:506 - - -#6 0x00007fdccb526187 in main_loop () at vl.c:1898 - - -#7 main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at -vl.c:4709 - - -(gdb) p ioc->features - - -$1 = 6 - - -(gdb) p ioc->name - - -$2 = 0x7fdcce1b1ab0 "migration-socket-listener" - - - - - -May be socket_accept_incoming_migration should call -qio_channel_set_feature(ioc, QIO_CHANNEL_FEATURE_SHUTDOWN)?? - - - - - -thank you. - - - - - - - - - - - - - - - -原始邮件 - - - -发件人: address@hidden -收件人:王广10165992 address@hidden -抄送人: address@hidden address@hidden -日 期 :2017å¹´03月16日 14:46 -主 题 :Re: [Qemu-devel] COLO failover hang - - - - - - - -On 03/15/2017 05:06 PM, wangguang wrote: -> am testing QEMU COLO feature described here [QEMU -> Wiki]( -http://wiki.qemu-project.org/Features/COLO -). -> -> When the Primary Node panic,the Secondary Node qemu hang. -> hang at recvmsg in qio_channel_socket_readv. -> And I run { 'execute': 'nbd-server-stop' } and { "execute": -> "x-colo-lost-heartbeat" } in Secondary VM's -> monitor,the Secondary Node qemu still hang at recvmsg . -> -> I found that the colo in qemu is not complete yet. -> Do the colo have any plan for development? - -Yes, We are developing. You can see some of patch we pushing. - -> Has anyone ever run it successfully? Any help is appreciated! - -In our internal version can run it successfully, -The failover detail you can ask Zhanghailiang for help. -Next time if you have some question about COLO, -please cc me and zhanghailiang address@hidden - - -Thanks -Zhang Chen - - -> -> -> -> centos7.2+qemu2.7.50 -> (gdb) bt -> #0 0x00007f3e00cc86ad in recvmsg () from /lib64/libpthread.so.0 -> #1 0x00007f3e0332b738 in qio_channel_socket_readv (ioc=<optimized out>, -> iov=<optimized out>, niov=<optimized out>, fds=0x0, nfds=0x0, errp=0x0) at -> io/channel-socket.c:497 -> #2 0x00007f3e03329472 in qio_channel_read (address@hidden, -> address@hidden "", address@hidden, -> address@hidden) at io/channel.c:97 -> #3 0x00007f3e032750e0 in channel_get_buffer (opaque=<optimized out>, -> buf=0x7f3e05910f38 "", pos=<optimized out>, size=32768) at -> migration/qemu-file-channel.c:78 -> #4 0x00007f3e0327412c in qemu_fill_buffer (f=0x7f3e05910f00) at -> migration/qemu-file.c:257 -> #5 0x00007f3e03274a41 in qemu_peek_byte (address@hidden, -> address@hidden) at migration/qemu-file.c:510 -> #6 0x00007f3e03274aab in qemu_get_byte (address@hidden) at -> migration/qemu-file.c:523 -> #7 0x00007f3e03274cb2 in qemu_get_be32 (address@hidden) at -> migration/qemu-file.c:603 -> #8 0x00007f3e03271735 in colo_receive_message (f=0x7f3e05910f00, -> address@hidden) at migration/colo.c:215 -> #9 0x00007f3e0327250d in colo_wait_handle_message (errp=0x7f3d62bfaa48, -> checkpoint_request=<synthetic pointer>, f=<optimized out>) at -> migration/colo.c:546 -> #10 colo_process_incoming_thread (opaque=0x7f3e067245e0) at -> migration/colo.c:649 -> #11 0x00007f3e00cc1df3 in start_thread () from /lib64/libpthread.so.0 -> #12 0x00007f3dfc9c03ed in clone () from /lib64/libc.so.6 -> -> -> -> -> -> -- -> View this message in context: -http://qemu.11.n7.nabble.com/COLO-failover-hang-tp473250.html -> Sent from the Developer mailing list archive at Nabble.com. -> -> -> -> - --- -Thanks -Zhang Chen - -Hi,Wang. - -You can test this branch: -https://github.com/coloft/qemu/tree/colo-v5.1-developing-COLO-frame-v21-with-shared-disk -and please follow wiki ensure your own configuration correctly. -http://wiki.qemu-project.org/Features/COLO -Thanks - -Zhang Chen - - -On 03/21/2017 03:27 PM, address@hidden wrote: -hi. - -I test the git qemu master have the same problem. - -(gdb) bt -#0 qio_channel_socket_readv (ioc=0x7f65911b4e50, iov=0x7f64ef3fd880, -niov=1, fds=0x0, nfds=0x0, errp=0x0) at io/channel-socket.c:461 -#1 0x00007f658e4aa0c2 in qio_channel_read -(address@hidden, address@hidden "", -address@hidden, address@hidden) at io/channel.c:114 -#2 0x00007f658e3ea990 in channel_get_buffer (opaque=<optimized out>, -buf=0x7f65907cb838 "", pos=<optimized out>, size=32768) at -migration/qemu-file-channel.c:78 -#3 0x00007f658e3e97fc in qemu_fill_buffer (f=0x7f65907cb800) at -migration/qemu-file.c:295 -#4 0x00007f658e3ea2e1 in qemu_peek_byte (address@hidden, -address@hidden) at migration/qemu-file.c:555 -#5 0x00007f658e3ea34b in qemu_get_byte (address@hidden) at -migration/qemu-file.c:568 -#6 0x00007f658e3ea552 in qemu_get_be32 (address@hidden) at -migration/qemu-file.c:648 -#7 0x00007f658e3e66e5 in colo_receive_message (f=0x7f65907cb800, -address@hidden) at migration/colo.c:244 -#8 0x00007f658e3e681e in colo_receive_check_message (f=<optimized -out>, address@hidden, -address@hidden) -at migration/colo.c:264 -#9 0x00007f658e3e740e in colo_process_incoming_thread -(opaque=0x7f658eb30360 <mis_current.31286>) at migration/colo.c:577 -#10 0x00007f658be09df3 in start_thread () from /lib64/libpthread.so.0 - -#11 0x00007f65881983ed in clone () from /lib64/libc.so.6 - -(gdb) p ioc->name - -$2 = 0x7f658ff7d5c0 "migration-socket-incoming" - -(gdb) p ioc->features Do not support QIO_CHANNEL_FEATURE_SHUTDOWN - -$3 = 0 - - -(gdb) bt -#0 socket_accept_incoming_migration (ioc=0x7fdcceeafa90, -condition=G_IO_IN, opaque=0x7fdcceeafa90) at migration/socket.c:137 -#1 0x00007fdcc6966350 in g_main_dispatch (context=<optimized out>) at -gmain.c:3054 -#2 g_main_context_dispatch (context=<optimized out>, -address@hidden) at gmain.c:3630 -#3 0x00007fdccb8a6dcc in glib_pollfds_poll () at util/main-loop.c:213 -#4 os_host_main_loop_wait (timeout=<optimized out>) at -util/main-loop.c:258 -#5 main_loop_wait (address@hidden) at -util/main-loop.c:506 -#6 0x00007fdccb526187 in main_loop () at vl.c:1898 -#7 main (argc=<optimized out>, argv=<optimized out>, envp=<optimized -out>) at vl.c:4709 -(gdb) p ioc->features - -$1 = 6 - -(gdb) p ioc->name - -$2 = 0x7fdcce1b1ab0 "migration-socket-listener" -May be socket_accept_incoming_migration should -call qio_channel_set_feature(ioc, QIO_CHANNEL_FEATURE_SHUTDOWN)?? -thank you. - - - - - -原始邮件 -address@hidden; -*收件人:*王广10165992;address@hidden; -address@hidden;address@hidden; -*日 期 :*2017å¹´03月16日 14:46 -*主 题 :**Re: [Qemu-devel] COLO failover hang* - - - - -On 03/15/2017 05:06 PM, wangguang wrote: -> am testing QEMU COLO feature described here [QEMU -> Wiki]( -http://wiki.qemu-project.org/Features/COLO -). -> -> When the Primary Node panic,the Secondary Node qemu hang. -> hang at recvmsg in qio_channel_socket_readv. -> And I run { 'execute': 'nbd-server-stop' } and { "execute": -> "x-colo-lost-heartbeat" } in Secondary VM's -> monitor,the Secondary Node qemu still hang at recvmsg . -> -> I found that the colo in qemu is not complete yet. -> Do the colo have any plan for development? - -Yes, We are developing. You can see some of patch we pushing. - -> Has anyone ever run it successfully? Any help is appreciated! - -In our internal version can run it successfully, -The failover detail you can ask Zhanghailiang for help. -Next time if you have some question about COLO, -please cc me and zhanghailiang address@hidden - - -Thanks -Zhang Chen - - -> -> -> -> centos7.2+qemu2.7.50 -> (gdb) bt -> #0 0x00007f3e00cc86ad in recvmsg () from /lib64/libpthread.so.0 -> #1 0x00007f3e0332b738 in qio_channel_socket_readv (ioc=<optimized out>, -> iov=<optimized out>, niov=<optimized out>, fds=0x0, nfds=0x0, errp=0x0) at -> io/channel-socket.c:497 -> #2 0x00007f3e03329472 in qio_channel_read (address@hidden, -> address@hidden "", address@hidden, -> address@hidden) at io/channel.c:97 -> #3 0x00007f3e032750e0 in channel_get_buffer (opaque=<optimized out>, -> buf=0x7f3e05910f38 "", pos=<optimized out>, size=32768) at -> migration/qemu-file-channel.c:78 -> #4 0x00007f3e0327412c in qemu_fill_buffer (f=0x7f3e05910f00) at -> migration/qemu-file.c:257 -> #5 0x00007f3e03274a41 in qemu_peek_byte (address@hidden, -> address@hidden) at migration/qemu-file.c:510 -> #6 0x00007f3e03274aab in qemu_get_byte (address@hidden) at -> migration/qemu-file.c:523 -> #7 0x00007f3e03274cb2 in qemu_get_be32 (address@hidden) at -> migration/qemu-file.c:603 -> #8 0x00007f3e03271735 in colo_receive_message (f=0x7f3e05910f00, -> address@hidden) at migration/colo.c:215 -> #9 0x00007f3e0327250d in colo_wait_handle_message (errp=0x7f3d62bfaa48, -> checkpoint_request=<synthetic pointer>, f=<optimized out>) at -> migration/colo.c:546 -> #10 colo_process_incoming_thread (opaque=0x7f3e067245e0) at -> migration/colo.c:649 -> #11 0x00007f3e00cc1df3 in start_thread () from /lib64/libpthread.so.0 -> #12 0x00007f3dfc9c03ed in clone () from /lib64/libc.so.6 -> -> -> -> -> -> -- -> View this message in context: -http://qemu.11.n7.nabble.com/COLO-failover-hang-tp473250.html -> Sent from the Developer mailing list archive at Nabble.com. -> -> -> -> - --- -Thanks -Zhang Chen --- -Thanks -Zhang Chen - diff --git a/results/classifier/01/other/04472277 b/results/classifier/01/other/04472277 deleted file mode 100644 index 95b28c96..00000000 --- a/results/classifier/01/other/04472277 +++ /dev/null @@ -1,576 +0,0 @@ -other: 0.846 -instruction: 0.845 -mistranslation: 0.817 -semantic: 0.815 - -[BUG][KVM_SET_USER_MEMORY_REGION] KVM_SET_USER_MEMORY_REGION failed - -Hi all, -I start a VM in openstack, and openstack use libvirt to start qemu VM, but now log show this ERROR. -Is there any one know this? -The ERROR log from /var/log/libvirt/qemu/instance-0000000e.log -``` -2023-03-14T10:09:17.674114Z qemu-system-x86_64: kvm_set_user_memory_region: KVM_SET_USER_MEMORY_REGION failed, slot=4, start=0xfffffffffe000000, size=0x2000: Invalid argument -kvm_set_phys_mem: error registering slot: Invalid argument -2023-03-14 10:09:18.198+0000: shutting down, reason=crashed -``` -The xml file -``` -root@c1c2:~# cat /etc/libvirt/qemu/instance-0000000e.xml - - -  instance-0000000e -  ff91d2dc-69a1-43ef-abde-c9e4e9a0305b -  -    -      -      provider-instance -      2023-03-14 10:09:13 -      -        64 -        1 -        0 -        0 -        1 -      -      -        admin -        admin -      -      -      -        -          -        -      -    -  -  65536 -  65536 -  1 -  -    -      OpenStack Foundation -      OpenStack Nova -      25.1.0 -      ff91d2dc-69a1-43ef-abde-c9e4e9a0305b -      ff91d2dc-69a1-43ef-abde-c9e4e9a0305b -      Virtual Machine -    -  -  -    hvm -    -    -  -  -    -    -    -  -  -    -  -  -    -    -    -  -  destroy -  restart -  destroy -  -    /usr/bin/qemu-system-x86_64 -    -      -      -      -     
-    -    -     
-    -    -    -      -      -       
-      -     
-    -    -      -      -        -      -    -    -      -      -    -    -     
-    -    -    -    -      -    -  Â