Bug 662606
| Summary: | rhel guest attached with host /dev/sr0 can not auto mount | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Shirley Zhou <szhou> |
| Component: | qemu-kvm | Assignee: | Jes Sorensen <Jes.Sorensen> |
| Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.1 | CC: | alex.williamson, bcao, mkenneth, mshao, tburke, virt-maint |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-21 03:28:05 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: | 580953 | ||
|
Description
Shirley Zhou
2010-12-13 11:01:19 UTC
When passing the guest the /dev/sr0 device directly, can the guest manually mount the device, or does it not see a cdrom drive at all? Does it make a difference whether the host has the device mounted? (In reply to comment #2) > When passing the guest the /dev/sr0 device directly, can the guest manually > mount the device, or does it not see a cdrom drive at all? Does it make a > difference whether the host has the device mounted? Hi, Alex When start guest with -cdrom /dev/sr0, the guest can not auto mount cdrom, and we can see blank dvd-cdrom disc on guest desktop. And guest can manually mount the device. If I umount /dev/sr0 in host, then start guest with /dev/sr0, there is no difference. I'm getting different results, but something doesn't seem to be working right. Using qemu-kvm-0.12.1.2-2.128.el6.x86_64 on a RHEL6.0 host, I get the following results: RHEL6.0 guest: /dev/sr0 - desktop shows blank DVD, disk utility shows the proper label, mounts it, creating another icon on the desktop that also refers to blank media, but opening it shows the proper CD contents. iso image - behaves exactly the same Fedora 13 guest: Either works as expected, media icon on the desktop shows the name of the image. This might end up being bug in the underpinnings of the desktop that's only exposed on qemu. I can reproduce this with Fedora 14 as well, using virt-manager to control the guests. It could probably be either an issue with GNOME on the host polling the device or keeping it open somehow, or QEMU not passing the device present info through. Shirley, whey you see this, are you logged in graphically on the host, or is X and GNOME running in any way there? Thanks, Jes (In reply to comment #5) > I can reproduce this with Fedora 14 as well, using virt-manager to > control the guests. > > It could probably be either an issue with GNOME on the host polling the > device or keeping it open somehow, or QEMU not passing the device present > info through. > > Shirley, whey you see this, are you logged in graphically on the host, > or is X and GNOME running in any way there? > Yes, I login host graphically. > Thanks, > Jes Hi Shirley, Could you try and run the test on a system where there is nobody logged in graphically? Preferably the system running in runlevel 3? Thanks, Jes (In reply to comment #7) > Hi Shirley, > > Could you try and run the test on a system where there is nobody logged > in graphically? Preferably the system running in runlevel 3? > > Thanks, > Jes Hi, Jes I tries with and without login host graphically, both reproduce this bug. Thanks, Shirley FYI. Tried with iso files. Can reproduce it with iso with guest init=5 while tried with guest init=3. #mount /dev/sr0 /mnt can see the resouces of cdrom in /mnt Thanks a lot for Mike's information. Close as duplicate of bug 647794. *** This bug has been marked as a duplicate of bug 647794 *** |