Bug 726023

Summary: Migration after hot-unplug virtio-balloon will not succeed
Product: Red Hat Enterprise Linux 6 Reporter: Amit Shah <amit.shah>
Component: qemu-kvmAssignee: Amit Shah <amit.shah>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: dawu, juzhang, mkenneth, qzhang, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.179.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 15:54:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Amit Shah 2011-07-27 10:45:26 UTC
Description of problem:

Migration complains of a missing section after hot-unplugging a virtio-balloon device:

Unknown savevm section or instance '0000:00:04.0/virtio-balloon' 0
load of migration failed

Comment 1 juzhang 2011-07-28 01:59:11 UTC
(In reply to comment #0)
> Description of problem:
> 
> Migration complains of a missing section after hot-unplugging a virtio-balloon
> device:
> 
> Unknown savevm section or instance '0000:00:04.0/virtio-balloon' 0
> load of migration failed

Hi,amit

   Would you please elaborate your steps and command lines so that qe can reproduce it and verify this issue?thanks

Comment 2 Amit Shah 2011-07-28 04:43:35 UTC
I thought it was clear:

1. start qemu with -device virtio-balloon-pci,id=balloon
2. in qemu monitor, issue: device_del balloon
3. migrate vm to another qemu instance (without balloon device)

Comment 7 dawu 2011-08-29 02:15:53 UTC
Verified this issue with the latest version both on win7-64 and RHEL-Server-6.2-64,migration succeed after hot-unplug virtio-balloon without any complain and error, following is the details:

kernel-2.6.32-192.el6.x86_64
qemu-kvm-0.12.1.2-2.184.el6.x86_64
For win7,use the latest virtio-win(virtio-win-prewhql-0.1-15)

Steps:
1.Start guest with following CLI:

/usr/libexec/qemu-kvm -m 2G -smp 2 -cpu cpu64-rhel6,+x2apic -usbdevice tablet -drive file=RHEL-Server-6.2-64-virtio.qcow2,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet0,script=/etc/qemu-ifup0 -device rtl8139,netdev=hostnet0,mac=00:10:4a:1b:74:19,bus=pci.0,addr=0x4 -boot c -uuid e795b747-ffcb-4f7c-b41a-5dc4b433edd9 -rtc-td-hack -no-kvm-pit-reinjection -monitor stdio -name rhel62 -device virtio-balloon-pci,id=balloon,addr=0x5,bus=pci.0  -spice port=5931,disable-ticketing -vga qxl

2.in qemu monitor: device_del balloon

3.migrate vm to another qemu instance (without balloon device)

Actually result: migration succeed after hot-unplug virtio-balloon without any complain and error.

Comment 8 dawu 2011-08-29 08:04:44 UTC
1.This issue can be reproduced on qemu-kvm-0.12.1.2-2.178.el6,Migration complains of a missing section after hot-unplugging a virtio-balloon device:

Unknown savevm section or instance '0000:00:05.0/virtio-balloon' 0
load of migration failed

2.Verified this issue on the latest build qemu-kvm-0.12.1.2-2.184.el6.x86_64, it did not reproduce, migration succeed without any error, please refer to comment7 for details.

Best Regards,
Dawn

Comment 10 errata-xmlrpc 2011-12-06 15:54:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1531.html