1. 18 5月, 2013 6 次提交
  2. 17 5月, 2013 6 次提交
    • A
      Update version for 1.5.0-rc3 release · 91b96cdc
      Anthony Liguori 提交于
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      91b96cdc
    • A
      Merge remote-tracking branch 'mdroth/qga-pull-2013-05-13' into staging · ce4cc316
      Anthony Liguori 提交于
      * mdroth/qga-pull-2013-05-13:
        qga: unlink just created guest-file if fchmod() or fdopen() fails on it
        qga: distinguish binary modes in "guest_file_open_modes" map
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ce4cc316
    • 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
    • S
      main-loop: partial revert of 5e3bc735 · 3cb8c205
      Stefan Hajnoczi 提交于
      This patch reverts part of 5e3bc735.
      
      Paolo Bonzini wrote this patch and commented:
      
      "WSAEventSelect is edge-triggered and the event will not be signaled if
      the socket handler does not consume all the data in the socket buffer."
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Message-id: 1368718561-7816-3-git-send-email-stefanha@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      3cb8c205
    • S
      main-loop: narrow win32 pollfds_fill() event bitmasks · 8db165b3
      Stefan Hajnoczi 提交于
      pollfds_fill() and pollfds_poll() translate GPollFD to rfds/wfds/xfds
      for sockets on win32.  select(2) is the underlying system call which is
      used to monitor sockets for activity.
      
      Currently file descriptors that monitor G_IO_ERR will be included in
      both rfds and wfds.  As a result, select(2) will report writability on
      file descriptors where we only really wanted to monitor readability
      (with errors).
      
      slirp_pollfds_poll() hit this issue: UDP sockets are blocking sockets so
      we hang in sorecvfrom() when G_IO_ERR is set due to the socket being
      writable (we only wanted to check for readability).
      
      This patch fixes the slirp_pollfds_poll() hang.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      Message-id: 1368718561-7816-2-git-send-email-stefanha@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8db165b3
    • K
      virtio: add virtio_bus_get_dev_path. · 6d46895b
      KONRAD Frederic 提交于
      This adds virtio_bus_get_dev_path to fix migration id string which is wrong
      since the virtio refactoring.
      Signed-off-by: NKONRAD Frederic <fred.konrad@greensocs.com>
      Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
      Message-id: 1368723967-21050-1-git-send-email-fred.konrad@greensocs.com
      Cc: mdroth <mdroth@linux.vnet.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      6d46895b
  3. 16 5月, 2013 3 次提交
  4. 15 5月, 2013 11 次提交
  5. 14 5月, 2013 10 次提交
  6. 13 5月, 2013 4 次提交