Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1422365

Summary: [virtio-win][virtio-input] The other two drivers are installed automatedly after installing one dirver
Product: Red Hat Enterprise Linux 7 Reporter: xiagao
Component: virtio-winAssignee: Ladi Prosek <lprosek>
virtio-win sub component: virtio-win-prewhql QA Contact: Virtualization Bugs <virt-bugs>
Status: CLOSED NOTABUG Docs Contact:
Severity: unspecified    
Priority: medium CC: lijin, lprosek, michen, phou, wyu, xiagao
Version: 7.4   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-20 08:49:43 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 xiagao 2017-02-15 06:38:45 UTC
Description of problem:
boot a guest with mouse keyboard and tablet devices, and update one driver and then click scan for hardware changes in device manager, the other two devices's drivers were installed automatedly. 

Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.8.0-4.el7.x86_64
kernel-3.10.0-563.el7.x86_64
seabios-1.10.1-2.el7.x86_64
virtio-win-prewhql-132

How reproducible:
100%

Steps to Reproduce:
1.boot up win7-32 guest with mouse keyboard and tablet device.
/usr/libexec/qemu-kvm -name win7-32 -nodefaults -vga std -m 3G -smp 4 -drive file=131RNGWIN732MRT,if=none,id=drive-ide0-0-0,format=raw,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive file=/home/en_windows_7_ultimate_with_sp1_x86_dvd_u_677460.iso,if=none,readonly=on,media=cdrom,format=raw,id=cdrom1 -device ide-drive,drive=cdrom1,bus=ide.0,unit=1,id=ide-cd1 -drive file=/home/virtio-win-prewhql-132.iso,if=none,readonly=on,media=cdrom,format=raw,id=cdrom2 -device ide-drive,drive=cdrom2,bus=ide.1,unit=0,id=ide-cd2 -vnc :0 -rtc base=localtime,clock=host,driftfix=slew -boot order=cd,menu=on -enable-kvm -monitor stdio -qmp tcp:0:1234,server,nowait -netdev tap,script=/etc/qemu-ifup,downscript=no,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=00:52:0a:5c:f1:1c -device virtio-keyboard-pci,id=kbd0,serial=virtio-keyboard -device virtio-mouse-pci,id=mouse0,serial=virtio-mouse -device virtio-tablet-pci,id=tablet0,serial=virtio-tablet


2.install input driver for "PCIInput Device" in guest's device manager 

3.click "Scan for hardware changes" in dev manager

Actual results:
the PCIKeyboard Controller and PCIMouse Controller's dirvers are installed automatedly. 


Expected results:
The other two device's driver can not installed automatedly.

Additional info:
1.2008-r2 hit the same issue.
2.After there dirvers are all installed and i only uninstall one driver, then do scan operation, the driver can not be installed automatedly

Comment 1 Ladi Prosek 2017-02-17 11:57:13 UTC
(In reply to xiagao from comment #0)
> 2.install input driver for "PCIInput Device" in guest's device manager 
> 
> 3.click "Scan for hardware changes" in dev manager
> 
> Actual results:
> the PCIKeyboard Controller and PCIMouse Controller's dirvers are installed
> automatedly. 

I believe that this is expected. All three devices have the same device/vendor ID and are driven by the same driver. You can try this with some other device - add two instances of, say, virtio-blk-pci and install the driver for only one of them.

Comment 2 xiagao 2017-02-20 02:06:01 UTC
(In reply to xiagao from comment #0)


> 
> Actual results:
> the PCIKeyboard Controller and PCIMouse Controller's dirvers are installed
> automatedly. 
> 
> 
> Expected results:
> The other two device's driver can not installed automatedly.
> 
> Additional info:
> 1.2008-r2 hit the same issue.
> 2.After there dirvers are all installed and i only uninstall one driver,
> then do scan operation, the driver can not be installed automatedly

Hi Ladi,

I have a question, 
After there dirvers are all installed and i only uninstall one driver,
then do scan operation, why can't the driver be installed automatedly?

thanks,
xiagao

Comment 3 xiagao 2017-02-20 02:43:33 UTC
Hi Ladi,

I did't reproduce it in win8-32 guest. 

Detailed steps:
1.boot up win8-32 guest with keyboard,mouse and tablety devices.
2.install input driver for "PCIInput Device" in guest's device manager
3.click "Scan for hardware changes" in dev manager

actual result:
the PCIKeyboard Controller and PCIMouse Controller's dirvers are not installed automatedly. 

thanks
xiagao

Comment 4 Ladi Prosek 2017-02-20 08:27:59 UTC
Hi xiagao,

(In reply to xiagao from comment #2)
> Hi Ladi,
> 
> I have a question, 
> After there dirvers are all installed and i only uninstall one driver,
> then do scan operation, why can't the driver be installed automatedly?

This seems to work for me on Win7-32. Maybe there are differences between Windows versions in how exactly they handle drivers in the driver store. But there's not much we can do about it and not a super important scenario so I wouldn't spend too much time on it.

Thanks!
Ladi

Comment 5 lijin 2017-02-20 08:49:43 UTC
close according to comment#4