[NTOSKRNL]

- Hack IopDeleteDriver to workaround the boot driver unloading bugs I mailed ros-dev about
- Should fix KVM testbot

svn path=/trunk/; revision=56071
This commit is contained in:
Cameron Gutman
2012-03-07 00:14:13 +00:00
parent e97f05f899
commit f184a271ca
+4
View File
@@ -73,12 +73,16 @@ IopDeleteDriver(IN PVOID ObjectBody)
DriverExtension = NextDriverExtension;
}
#if 0
/* Check if the driver image is still loaded */
if (DriverObject->DriverSection)
{
/* Unload it */
MmUnloadSystemImage(DriverObject->DriverSection);
}
#else
DPRINT1("HACK: Not unloading the driver image due to critical bugs!\n");
#endif
/* Check if it has a name */
if (DriverObject->DriverName.Buffer)