->mutex);
...
}
As the 'p->running' is used to indicate whether the multifd_send/recv thread
is created, it should be set to false after the thread terminate.
Signed-off-by: Wang Xin
Signed-off-by: Huangyu Zhai
diff --git a/migration/multifd.c b/migration/multifd.c
ind
rrent with tcp_chr_connect_client_sync
tcp_chr_connect_client_task
qio_channel_socket_connect_sync //try connect same socket
This patch disabled tcp reconnect timer when we try to connect in synchronous
mode,
it seems to work.
Signed-off-by: suruifeng
Signed-off-by: Wang Xin
diff --git a/chardev/char-
clude it from the vhost sections.
The 1st patch re-spin Dave's patch, see link
https://lists.nongnu.org/archive/html/qemu-devel/2020-01/msg02370.html
However, I'm not sure is there any side effects, or maybe it's
better to add a new device property like 'novhost/nodma
Since ivshmem_bar2 not normal RAM in Guest, and it shouldn't have
vhost DMAing into them, exclude it from the vhost sections, mark the
shared memory regions as novhost.
Signed-off-by: Wang Xin
---
hw/misc/ivshmem.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/misc/ivshmem.c
Allow a memory region to be marked as 'no_vhost' and
exclude that region from vhost's list build.
Signed-off-by: Dr. David Alan Gilbert
Signed-off-by: Wang Xin
---
hw/virtio/vhost.c | 5 -
include/exec/memory.h | 21 +
softmmu/memory.c | 15 +++
If VM migration with lots of zero page or enable data compress, the peroid
tansfer bytes may be much less than the available bandwidth, which trigger
unnecessary guest throttle down. Use the raw transfer pages as the
threshold instead.
Signed-off-by: Wang Xin
diff --git a/migration/ram.c b
If the fd socket peer closed shortly, ppoll may receive a POLLHUP
event before the expected POLLIN event, and qemu will do nothing
but goes into an infinite loop of the POLLHUP event.
So, abort the migration if we receive a POLLHUP event.
Signed-off-by: Wang Xin
diff --git a/migration/fd.c b
Signed-off-by: Wang Xin
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index bb49165..635c8b2 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -617,7 +617,7 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
#define PC_COMPAT_2_2 \
HW_COMPAT_2_2
qemu_find_file do not check file is a directory or just a file.
If qemu start with "-k ''", qemu_find_file get a empty string
as keymap file name, then, qemu treat the keymap path as keymap
file, it makes vnc keyboard input unusable.
Signed-off-by: Wang Xin
diff --git
Commit bfa0f15 add vbe_enabled() helper, while it forget to replace
the code in vbe_ioport_write_data().
Signed-off-by: Wang Xin
---
hw/display/vga.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hw/display/vga.c b/hw/display/vga.c
index 4a55ec6..455ef51 100644
--- a/hw
10 matches
Mail list logo