viofs-pci: POOL_NX_OPTIN=1 requires an ExInitializeDriverRuntime call.
@@ -43,6 +43,10 @@ NTSTATUS DriverEntry(IN PDRIVER_OBJECT DriverObject,
WDF_DRIVER_CONFIG config;
WDF_OBJECT_ATTRIBUTES attributes;
+#if (NTDDI_VERSION > NTDDI_WIN7)
+ ExInitializeDriverRuntime(DrvRtPoolNxOptIn);
+#endif
+
// Initialize the WPP tracing.
WPP_INIT_TRACING(DriverObject, RegistryPath);
