[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1702798] Re: colo: secondary vm can't receive any pack
From: |
pork-prince |
Subject: |
[Qemu-devel] [Bug 1702798] Re: colo: secondary vm can't receive any packet |
Date: |
Fri, 07 Jul 2017 02:00:34 -0000 |
The qemu version is 2.9.0 release.
The secondary vm state make me confused. I tried to add vm_stop and vm_start in
colo_process_incoming_thread function, but it crashed.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1702798
Title:
colo: secondary vm can't receive any packet
Status in QEMU:
New
Bug description:
Following document 'COLO-FT.txt', I test colo feature on my hosts. It seems
goes well,but I found the secondary vm can't receive any packets. I attached
the process and find out the reason as follow, the filter-redirector(red0)
didn't flush it's queue because the secondary vm in migrate
state(RUN_STATE_INMIGRATE) :
int qemu_can_send_packet(NetClientState *sender)
{
int vm_running = runstate_is_running():
if (!vm_running) { // it will return false on the secondary vm
return 0;
}
------
}
How does it produce outbound packets in the secondary vm as it in migrate
state?
static void *qemu_kvm_cpu_thread_fn(void *arg)
{
------
do {
if (cpu_can_run(cpu)) { // it will return false on the secondary
vm
r = kvm_cpu_exec(cpu);
------
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1702798/+subscriptions