Bug 579737 - QEMU: Too many devices are available for unplug in Windows XP (and we don't support that)
Summary: QEMU: Too many devices are available for unplug in Windows XP (and we don't s...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.5
Hardware: All
OS: Windows
high
low
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 498774 671544
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-06 12:32 UTC by RHEL Program Management
Modified: 2013-01-09 22:24 UTC (History)
21 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-05 21:09:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description RHEL Program Management 2010-04-06 12:32:47 UTC
This bug has been copied from bug #498774 and has been proposed
to be backported to 5.5 z-stream (EUS).

Comment 5 Keqin Hong 2010-04-07 09:22:34 UTC
Verified on kvm-83-164.el5_5.2, Passed 
1. With default bios, emulated devices appeared on the "Safely Remove Hardware"
list under WinXP, as in 
"
Safely remove Intel 82371SB PCI to ISA bridge
Safely remove Intel(R) PRO/1000MT Network Connection #2
Safely remove Cirrus Logic 5446 Compatible Graphics Adapter
"

2. By using "-bios bios-nohotplug.bin" option, no list of emulated devices are
provided by the "Safely Remove Hardware" under WinXP.

CLI:
1. using default bios
# usr/libexec/qemu-kvm -m 2G -smp 2 -drive file=winXP-32.raw,if=ide,cache=off
-net nic,model=e1000,vlan=1,macaddr=02:00:40:3F:20:10 -net
tap,vlan=1,script=/etc/qemu-ifup -boot c -uuid
17544ecc-d3a1-4d3c-a386-12daf50015f1 -usbdevice tablet -no-hpet -rtc-td-hack
-no-kvm-pit-reinjection -monitor stdio -notify all -cpu qemu64,+sse2 -balloon
none -startdate now -vnc :1 -M rhel5.5.0

2. using nohotplugable bios
/usr/libexec/qemu-kvm -m 2G -smp 2 -drive file=winXP-32.raw,if=ide,cache=off
-net nic,model=e1000,vlan=1,macaddr=02:00:40:3F:20:10 -net
tap,vlan=1,script=/etc/qemu-ifup -boot c -uuid
17544ecc-d3a1-4d3c-a386-12daf50015f1 -usbdevice tablet -no-hpet -rtc-td-hack
-no-kvm-pit-reinjection -monitor stdio -notify all -cpu qemu64,+sse2 -balloon
none -startdate now -vnc :1 -M rhel5.5.0 -bios bios-nohotplug.bin

Comment 7 Keqin Hong 2010-04-19 10:14:05 UTC
1. Further tested with various Windows OSes on kvm-83-164.el5_5.6. The previously "Safe remove ..." options for devices (NIC, PCI to ISA bridge, QXL) disappeared.
------------------------
guest OS      |  Result 
------------------------
winXP         |    P
win7-32       |    P
win7-64       |    P
win2003-32    |    P
win2003-64    |    P
win2008-32    |    P
win2008-64    |    P
win2008r2     |    P
-------------------------
P-pass; F-fail

As can been seen, all passed with "-bios bios-nohotplug.bin" (and could be reproduced with default bios.bin).

2. Regarding QXL, "-bios bios-nohotplug.bin" disables unhotplug "Red Hat QXL GPU" and "Red Hat Virtual Desktop Interface Port" as well, no option for "safely" removing them.


Note You need to log in before you can comment on or make changes to this bug.