Bug 736975
Summary: | Qemu-kvm fails to unregister virtio-balloon-pci device when unplugging | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Shaolong Hu <shu> |
Component: | qemu-kvm | Assignee: | Amit Shah <amit.shah> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2 | CC: | acathrow, amit.shah, flang, juzhang, michen, 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.192.el6 | Doc Type: | Bug Fix |
Doc Text: |
Hot-plugging a baloon device after hot-unplugging a previous one failed. This was fixed by unregistering the balloon device from the balloon core in QEMU. With the fix, balloon devices can be added and removed without problems.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-12-06 16:03: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: | |||
Bug Depends On: | |||
Bug Blocks: | 743047 |
Description
Shaolong Hu
2011-09-09 08:15:52 UTC
Patches posted upstream: http://thread.gmane.org/gmane.comp.emulators.qemu/116640 Reproduced this issue with qemu-kvm-0.12.1.2-2.190.el6.x86_64 kernel:2.6.32-202.el6.x86_64 steps: 1.boot guest #/usr/libexec/qemu-kvm -smp 2....... 2.1.boot guest #/usr/libexec/qemu-kvm -smp 2....... 2.(qemu) device_add virtio-balloon-pci,id=balloon1 (qemu) info balloon balloon: actual=2048 (qemu) balloon 1024 (qemu) info balloon balloon: actual=1024 (qemu) device_del balloon1 (qemu) info balloon balloon: actual=2048 (qemu) device_del balloon1 Device 'balloon1' not found (qemu) device_add virtio-balloon-pci,id=balloon1 Another balloon device already registered Device 'virtio-balloon-pci' could not be initialized (qemu) device_add virtio-balloon-pci,id=balloon2 Another balloon device already registered Device 'virtio-balloon-pci' could not be initialized (qemu) Results:as step 2,can not hotplug a virtio-balloon-pci device . Veriry this issue with hostA(rhel6.2):qemu-kvm-0.12.1.2-2.192.el6.x86_64 kernel:2.6.32-202.el6.x86_64 using steps as same as reproduce Results:1)can unhotplug balloon device 2)can not hotplug more than one balloon device 3) when one balloon device unplugged, should allow another balloon device plugged. Above all,this issue have been fixed. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Hot-plugging a baloon device after hot-unplugging a previous one failed. This was fixed by unregistering the balloon device from the balloon core in QEMU. With the fix, balloon devices can be added and removed without problems. 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 |