Description of problem: When a device is attached to the guest, if it's in use by the guest while it's detached, then xend loses the domain and no operations can be done on the guest from dom0. Guests, in this case, seem to be alive, i.e. if you have connected to the console of the guest before the you can still control the guest, however from dom0 you can't do anything on the guest and xend.log gives errors for not being able to query SXPR for domain. Version-Release number of selected component (if applicable): # rpm -qa | grep xen xen-devel-3.0.3-79.el5 xen-devel-3.0.3-79.el5 xen-libs-3.0.3-79.el5 xen-3.0.3-79.el5 xen-debuginfo-3.0.3-79.el5 kernel-xen-2.6.18-126.el5 xen-debuginfo-3.0.3-79.el5 kernel-xen-devel-2.6.18-126.el5 xen-libs-3.0.3-79.el5 How reproducible: Very. Steps to Reproduce: 1. Install 5.3 dom0 / guests. 2. Attach a disk to the guest. Go into the guest and mount the device 3. Detach the disk from the guest on dom0 while it's mounted in the guest. Actual results: Xend loses domaininfo for the guest. Additional info: This was on an x86_64 dom0 with x86_64 pv, x86_64 hvm and i386 hvm guests. I used all tap:aio drivers for these tests.
Providing release note text. It is not recommend to remove a block device from a guest when that device is in use. Doing so causes Xend to lose domaininfo for the guest.
Release note added. If any revisions are required, please set the "requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: It is not recommend to remove a block device from a guest when that device is in use. Doing so causes Xend to lose domain info for the guest.
Release note updated. If any revisions are required, please set the "requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -It is not recommend to remove a block device from a guest when that device is in use. Doing so causes Xend to lose domain info for the guest.+Red Hat advises that you avoid removing a block device from a guest when the device is in use. Doing so causes Xend to lose domain information for the guest.
*** This bug has been marked as a duplicate of bug 484110 ***
Sorry, forget to add comment here. Anyway when looking at this bug and steps to reproduce this is what was found when solving bug #484110 and corrected. Patch for this is available there (in bug patches for #484110).