Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 663224

Summary: After living migration of a domain with a PCI device hotplugged,the guest status is paused
Product: Red Hat Enterprise Linux 5 Reporter: koka xiong <kxiong>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.6CC: dallan, dyuan, eblake, gren, jyang, llim, virt-maint, weizhan, xen-maint, yoyzhang
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-15 20:06:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description koka xiong 2010-12-15 02:28:23 UTC
Description of problem:
Live migration of a domain with a PCI device hotplugged,it pops up error message:"error: POST operation failed: xend_post: error from xen daemon: (xend.err '/usr/lib64/xen/bin/xc_save 4 3 0 0 1 failed')" then the migration failed.
Look at the status of the guest,its status is paused.

Version-Release number of selected component (if applicable):
libvirt-0.8.2-15.el5
libvirt-python-0.8.2-15.el5
kernel-xen-2.6.18-225.el5
kernel-2.6.18-236.el5

How reproducible:
always

Steps to Reproduce:
1.# virsh start <domain>
2. Hotplug a PCI device to the domain;
   # virsh attach-device <domain> <device.xml>
cat device.xml
<disk type='file' device='disk'>
      <driver name='tap' type='aio'/>
      <source file='/root/test.img'/>
<target dev='xvdb' bus='xen'/>
</disk>
3. virsh migrate --live <domain> xen+ssh://host2
4. root.83.194's password: 
error: POST operation failed: xend_post: error from xen daemon: (xend.err '/usr/lib64/xen/bin/xc_save 4 3 0 0 1 failed')
5.Look at the status of the guest 
 Id Name                 State
----------------------------------
  4 xenpv                paused

Actual results:


Expected results:
The guest status should be running if it fails migration

Additional info:

Comment 3 RHEL Program Management 2011-08-15 20:06:04 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.