Re: [Qemu-devel] [PATCH v6 03/12] migration: avoid concurrent invoke channel_close by different threads

2018-08-06 Thread 858585 jemmy
This patch causes compile error when make check. LINKtests/test-qdist migration/qemu-file.o: In function `qemu_fclose': /tmp/qemu-test/src/migration/qemu-file.c:331: undefined reference to `migrate_get_current' /tmp/qemu-test/src/migration/qemu-file.c:333: undefined reference to

[Qemu-devel] [PATCH v6 03/12] migration: avoid concurrent invoke channel_close by different threads

2018-08-03 Thread Lidong Chen
From: Lidong Chen The channel_close maybe invoked by different threads. For example, source qemu invokes qemu_fclose in main thread, migration thread and return path thread. Destination qemu invokes qemu_fclose in main thread, listen thread and COLO incoming thread. Signed-off-by: Lidong Chen