Bug 844542
Summary: | virtio: Use ida to allocate virtio index | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Asias He <asias> |
Component: | kernel | Assignee: | Asias He <asias> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3 | CC: | areis, juzhang, lnovich, sluo |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | kernel-2.6.32-301.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 06:44:07 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Asias He
2012-07-31 03:14:15 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. Patch(es) available on kernel-2.6.32-301.el6 Reproduce this issue on 2.6.32-300.el6.x86_64 with the same steps as comment #0. host info: # uname -r && rpm -q qemu-kvm 2.6.32-300.el6.x86_64 <--------- qemu-kvm-0.12.1.2-2.334.el6.x86_64 guest info: # uname -r 2.6.32-300.el6.x86_64 <--------- Results: after steps 4, the virtio device number will increase monotonically, did not point to the original virito number. eg: # ls -l /sys/block/vda/device lrwxrwxrwx. 1 root root 0 Dec 17 19:00 /sys/block/vda/device -> ../../../virtio10 Verify this issue on 2.6.32-345.el6.x86_64 with the same steps as comment #0. host info: # uname -r && rpm -q qemu-kvm 2.6.32-345.el6.x86_64 <--------- qemu-kvm-0.12.1.2-2.334.el6.x86_64 guest info: # uname -r 2.6.32-345.el6.x86_64 <--------- Results: The virtio device pointed to the original virtio number instead of increasing monotonically after hot-plug the virtio blk device again. e.g: # ls -l /sys/block/vda/device lrwxrwxrwx. 1 root root 0 Dec 17 19:35 /sys/block/vda/device -> ../../../virtio2 # ls -l /sys/block/vda/device lrwxrwxrwx. 1 root root 0 Dec 17 19:35 /sys/block/vda/device -> ../../../virtio2 Base on above, this issue has been fixed correctly. 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-2013-0496.html |