]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commitdiff
Additional logging for module loading.
authorMartin Harvey <Martin.Harvey@citrix.com>
Thu, 15 Jul 2021 13:15:00 +0000 (14:15 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 19 Jul 2021 13:20:39 +0000 (14:20 +0100)
Recent releases of Windows (10 and 11 in particular) allow
online edition updates which involve a driver migration step,
which occurs in SAFEBOOT mode.

In some rare cases, this step may fail (for a variety of reasons).
This additional logging added to debug such upgrade cases.

Signed-Off-By: Martin Harvey <martin.harvey@citrix.com>
src/xen/module.c

index da7f1133d16867900ac5b665e2cece860913d36b..1813e3bfa62611784304f9aa58565829694c2394 100644 (file)
@@ -145,6 +145,11 @@ ModuleAdd(
     BOOLEAN             After;
     NTSTATUS            status;
 
+    Info("%p - %p [%s]\n",
+         Start,
+         Start + Size - 1,
+         Name);
+
     New = __ModuleAllocate(sizeof (MODULE));
 
     status = STATUS_NO_MEMORY;