]> xenbits.xensource.com Git - people/pauldu/xennet.git/commit
Find alias hardware key rather then stopping with the software key
authorPaul Durrant <paul.durrant@citrix.com>
Mon, 23 Dec 2013 15:50:41 +0000 (15:50 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Mon, 23 Dec 2013 15:50:41 +0000 (15:50 +0000)
commit5fbea2c2f03e69a7a68cd501f6a7e3453b9dd577
tree6b4665923aee2254ee657a0b30af51ad0082cbda
parent1b788ea95dbbf5c23bb98edcfd2a0f2db2b30a6b
Find alias hardware key rather then stopping with the software key

The DeviceInstanceID value stored in the software key appears to be
specific to newer versions of Windows so we cannot rely upon it. Instead
find the hardware key by reverse mapping via the Driver value - which is
used directly by the PnP subsystem and so should be safe to rely upon.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/coinst/coinst.c