From: Martin Harvey Date: Thu, 15 Jul 2021 13:15:00 +0000 (+0100) Subject: Additional logging for module loading. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=db2475e8ecbf8daea7e5daecfa482e40d01c2068;p=pvdrivers%2Fwin%2Fxenbus.git Additional logging for module loading. 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 --- diff --git a/src/xen/module.c b/src/xen/module.c index da7f113..1813e3b 100644 --- a/src/xen/module.c +++ b/src/xen/module.c @@ -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;