[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[win-pv-devel] [PATCH] Get rid of InitSafeBootMode veto



This should no longer be necessary since XENVIF fails to start PDOs if
emulated devices are present, which they will be in safe mode.

Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
 src/xennet/driver.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/xennet/driver.c b/src/xennet/driver.c
index 85efd1d..e4d46be 100644
--- a/src/xennet/driver.c
+++ b/src/xennet/driver.c
@@ -43,8 +43,6 @@ typedef struct _XENNET_DRIVER {
 
 static XENNET_DRIVER Driver;
 
-extern PULONG InitSafeBootMode;
-
 typedef struct _XENNET_CONTEXT {
     PDEVICE_CAPABILITIES    Capabilities;
     PIO_COMPLETION_ROUTINE  CompletionRoutine;
@@ -166,9 +164,6 @@ DriverUnload(
 
     Trace("====>\n");
 
-    if (*InitSafeBootMode > 0)
-        goto done;
-
     if (Driver.MiniportHandle)
         NdisMDeregisterMiniportDriver(Driver.MiniportHandle);
     Driver.MiniportHandle = NULL;
@@ -182,7 +177,6 @@ DriverUnload(
          MONTH,
          YEAR);
 
-done:
     Trace("<====\n");
 }
 
@@ -206,9 +200,6 @@ DriverEntry (
 
     Trace("====>\n");
 
-    if (*InitSafeBootMode > 0)
-        return NDIS_STATUS_SUCCESS;
-
     Info("XENNET %d.%d.%d (%d) (%02d.%02d.%04d)\n",
          MAJOR_VERSION,
          MINOR_VERSION,
-- 
2.1.1


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.