qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1702798] [NEW] colo: secondary vm can't receive any pa


From: pork-prince
Subject: [Qemu-devel] [Bug 1702798] [NEW] colo: secondary vm can't receive any packet
Date: Fri, 07 Jul 2017 00:55:27 -0000

Public bug reported:

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);
    ------
}

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
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



reply via email to

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