Red Hat Bugzilla – Bug 667356
xen: unplug the emulated devices at resume time
Last modified: 2011-08-30 03:26:00 EDT
Early after being resumed we need to unplug again the emulated devices. Otherwise, after migration a PV-on-HVM domain will have again two NICs with the same MAC and two "views" of the same disk. This is upstream commit 512b109e.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
In particular, migration may show messages like ata1.00: ATA-7: QEMU HARDDISK, 0.8.2, max UDMA/100 ata1.00: 13687317 sectors, multi 16: LBA48 ata1.00: Drive reports diagnostics failure. This may indicate a drive ata1.00: fault or invalid emulation. Contact drive vendor for information. ata1.00: configured for MWDMA2 scsi 0:0:0:0: Direct-Access ATA QEMU HARDDISK 0.8. PQ: 0 ANSI: 5 scsi 0:0:0:0: Attached scsi generic sg1 type 0
Patch(es) available on kernel-2.6.32-112.el6
QA verified this bug with 2.6.32-128.el6: 1. start a xen hvm guest with 2.6.32-128.el6 kernel installed. 2. check vif and xvd* devices within the guest. 3. save and restore the guest. At step 2, no emulated devices are shown within the guest; At step 3, still no emulated devices are shown within the guest after restore. So change this bug to VERIFIED.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0542.html