win-pvdrivers

changeset 632:4c7db3f810f7

missed xenpci.c in previous commit that should fix some 7b bsod
- remove default hiding list (in case no drivers were not installed yet)
author Amir Szekely <amir@neocleus.com>
date Tue Aug 18 17:40:58 2009 +0300 (2009-08-18)
parents bf13631a5054
children 9269b3e0d776
files xenpci/xenpci.c
line diff
     1.1 --- a/xenpci/xenpci.c	Tue Aug 18 17:37:27 2009 +0300
     1.2 +++ b/xenpci/xenpci.c	Tue Aug 18 17:40:58 2009 +0300
     1.3 @@ -306,21 +306,6 @@ XenPci_EvtDeviceAdd_XenHide(WDFDRIVER dr
     1.4    {
     1.5      KdPrint(("Error opening parameters key %08x\n", status));
     1.6    }
     1.7 -  if (!WdfCollectionGetCount(hide_devices))
     1.8 -  {
     1.9 -    WDFSTRING wdf_string;
    1.10 -    UNICODE_STRING unicode_string;
    1.11 -    
    1.12 -    RtlInitUnicodeString(&unicode_string, L"VEN_8086&DEV_7010"); // Qemu IDE
    1.13 -    WdfStringCreate(&unicode_string, WDF_NO_OBJECT_ATTRIBUTES, &wdf_string);
    1.14 -    WdfCollectionAdd(hide_devices, wdf_string);
    1.15 -    RtlInitUnicodeString(&unicode_string, L"VEN_1000&DEV_0012"); // Qemu SCSI
    1.16 -    WdfStringCreate(&unicode_string, WDF_NO_OBJECT_ATTRIBUTES, &wdf_string);
    1.17 -    WdfCollectionAdd(hide_devices, wdf_string);
    1.18 -    RtlInitUnicodeString(&unicode_string, L"VEN_10EC&DEV_8139"); // Qemu Network
    1.19 -    WdfStringCreate(&unicode_string, WDF_NO_OBJECT_ATTRIBUTES, &wdf_string);
    1.20 -    WdfCollectionAdd(hide_devices, wdf_string);
    1.21 -  }
    1.22    status = WdfFdoInitAllocAndQueryProperty(device_init, DevicePropertyDeviceDescription, NonPagedPool, WDF_NO_OBJECT_ATTRIBUTES, &memory);
    1.23    if (NT_SUCCESS(status))
    1.24    {