migrate exec hangs for several minutes if the pipe is closed before all its data is written

Bug #391880 reported by Nathan Baum
This bug report is a duplicate of:  Bug #391879: migrate exec ignores exit status. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu-kvm (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Binary package hint: kvm

Using

  migrate "exec:true"

in the monitor hangs the VM for several minutes. What I expect is that the VM stops attempting to migrate after the pipe has been closed.

Indicating a background migrate with -d doesn't help. Presumably the migration is not backgrounded until a certain amount of data is written to the pipe, or the migration times out. What I expect is that the migration is backgrounded immediately.

== Version information

$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

$ apt-cache policy kvm
kvm:
  Installed: 1:84+dfsg-0ubuntu11
  Candidate: 1:84+dfsg-0ubuntu11
  Version table:
 *** 1:84+dfsg-0ubuntu11 0
        500 http://gb.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Nathan Baum (nbaum)
description: updated
Changed in kvm (Ubuntu):
importance: Undecided → Wishlist
Changed in qemu:
importance: Undecided → Wishlist
affects: kvm (Ubuntu) → qemu-kvm (Ubuntu)
Chuck Short (zulcss)
Changed in qemu-kvm (Ubuntu):
status: New → Confirmed
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I can reproduce this in Lucid. Like the other related bug report, I don't have a strong opinion on the feature request, though it seems reasonable. We will defer to Upstream's decision on this one. Thanks!

Thomas Huth (th-huth)
no longer affects: qemu
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.