Bug 499664
Summary: | inconsistency between reported device names / guest device names in virt-manager | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Marcelo Tosatti <mtosatti> | ||||||
Component: | virt-manager | Assignee: | Cole Robinson <crobinso> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 11 | CC: | berrange, crobinso, hbrock, markmc, virt-maint | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2009-12-03 23:56:09 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: | 480594 | ||||||||
Attachments: |
|
Description
Marcelo Tosatti
2009-05-07 15:20:25 UTC
Why does the guest name it /dev/vda1 instead of /dev/vdab? Could you give a specific example of how they would not match? I can't reproduce here? When you hot-remove virtio-blk, for some (unknown to me) reason udev continues to number new devices not taking removals into account. Example: 1) hot-add virtio-blk device, shows up as vdb 2) hot-remove vdb 3) hot-add virtio-blk device, shows up as vdc in guest, vdb in virt-manager Also, there is some inconsistency for CDROMs: if you start a guest with a CDROM attached, the CDROM image is not accessible (see attached screenshots). Created attachment 342863 [details]
guest console
Created attachment 342864 [details]
virt-manager interface
Doh, ignore the screenshots, the "Connect" button works as expected and you see the CDROM image. The original bug report still holds though. Regardless of why the guest choose to give wierd names, I agree that its not very useful for virt-manager to display these names. For a start the guest could be Windows + VirtIO PV drivers, so a name 'vda' is meaningless for that. Also Linux likes to call IDE disks sda these days, instead of hda Ultimately the disk names that libvirt exposes are only really useful as an sort ordering property. Thus, instead of hda, sda, vda, etc, virt-manager should display a name made from a combo of bus name, disk type & disk number, eg IDE disk 1 IDE cdrom 2 IDE disk 3 VirtIO disk 3 Xen disk 3 SCSI disk 2 USB disk 3 etc This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fixed upstream, I went with Dan's recommended naming scheme: http://hg.fedorahosted.org/hg/virt-manager/rev/c2d8f51bc161 Not really critical to backport to F11 IMO, but this should now be in rawhide with virt-manager-0.8.1, so closing. |