1. 01 6月, 2013 1 次提交
  2. 17 5月, 2013 1 次提交
    • M
      Revert "migration: don't account sleep time for calculating bandwidth" · 77417f10
      Michael Roth 提交于
      This reverts commit 7161082c.
      
      Reverting this patch fixes a divide-by-zero error in qemu that can be
      fairly reliably triggered by doing block migration. In this case, the
      configuration/error was:
      
      source: temp/x86_64-softmmu/qemu-system-x86_64 -enable-kvm -L temp-bios
      -M pc-i440fx-1.4 -m 512M -kernel boot/vmlinuz-x86_64 -initrd
      boot/test-initramfs-x86_64.img.gz -vga std -append seed=1234 -drive
      file=disk1.img,if=virtio -drive file=disk2.img,if=virtio -device
      virtio-net-pci,netdev=net0 -netdev user,id=net0 -monitor
      unix:/tmp/vm-hmp.sock,server,nowait -qmp
      unix:/tmp/vm-qmp.sock,server,nowait -vnc :100
      
      16837 Floating point exception(core dumped)
      
      target: temp/x86_64-softmmu/qemu-system-x86_64 -enable-kvm -L temp-bios
      -M pc-i440fx-1.4 -m 512M -kernel boot/vmlinuz-x86_64 -initrd
      boot/test-initramfs-x86_64.img.gz -vga std -append seed=1234 -drive
      file=target_disk1.img,if=virtio -drive file=target_disk2.img,if=virtio
      -device virtio-net-pci,netdev=net0 -netdev user,id=net0 -incoming
      unix:/tmp/migrate.sock -monitor
      unix:/tmp/vm-hmp-incoming.sock,server,nowait -qmp
      unix:/tmp/vm-qmp-incoming.sock,server,nowait -vnc :101
      
      Receiving block device images
      20 %
      21 %
      load of migration failed
      
      This revert potentially re-introduces a bug that was present in 1.4,
      but fixes a prevalent issue with block migration so we should revert
      it for now and take an updated patch later.
      
      Conflicts:
      
      	migration.c
      
      * fixed up to remove logic introduced in 7161082c while leaving
        changes in HEAD intact
      Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      Message-id: 1368739544-31021-1-git-send-email-mdroth@linux.vnet.ibm.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      77417f10
  3. 17 4月, 2013 1 次提交
  4. 02 4月, 2013 1 次提交
  5. 26 3月, 2013 1 次提交
  6. 11 3月, 2013 26 次提交
  7. 22 2月, 2013 4 次提交
  8. 12 2月, 2013 1 次提交
    • S
      migration: restrict scope of incoming fd read handler · d7cd3694
      Stefan Hajnoczi 提交于
      The incoming migration is processed in a coroutine and uses an fd read
      handler to enter the yielded coroutine when data becomes available.
      
      The read handler was set too broadly, so that spurious coroutine entries
      were be triggered if other coroutine users yielded (like the block
      layer's bdrv_write() function).
      
      Install the fd read only only when yielding for more data to become
      available.  This prevents spurious coroutine entries which break code
      that assumes only a specific set of places can re-enter the coroutine.
      
      This patch fixes crashes in block/raw-posix.c that are triggered with
      "migrate -b" when qiov becomes a dangling pointer due to a spurious
      coroutine entry that frees qiov early.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      Message-id: 1360598505-5512-1-git-send-email-stefanha@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d7cd3694
  9. 11 2月, 2013 1 次提交
  10. 17 1月, 2013 3 次提交