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

[PATCH 1/3] Additional logging for module loading.


  • To: <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Martin Harvey <Martin.Harvey@xxxxxxxxxx>
  • Date: Thu, 15 Jul 2021 14:15:00 +0100
  • Authentication-results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Martin Harvey <Martin.Harvey@xxxxxxxxxx>, Martin Harvey <martin.harvey@xxxxxxxxxx>
  • Delivery-date: Thu, 15 Jul 2021 13:15:40 +0000
  • Ironport-hdrordr: A9a23:95DWN6/E/9PMLmt7qu1uk+DWI+orL9Y04lQ7vn2YSXRuE/Bw8P re+8jztCWE8Qr5N0tQ+uxoVJPufZq+z+8Q3WByB8bBYOCOggLBR+sOgbcKqweQfREWndQ86U 4PScZD4aXLfD1Hsfo=
  • Ironport-sdr: N9AnQQb9yasQOOYMkg1m2qUsN3fv0FOUoJTy7QtWyjU6iIib7T2HmCY78g1DwvAfTkqOLo0F1v Sb5xdTRJXYcVAYwYeQq1TyOhlNqFPalDZ6qrCeqXyNuYX6XDOUyebyx33nU7gmdpOSAbnD0xdg Uiov4OecKud/ZTYW3tUKH9FYb179xeOO76L2ToVF/rluYK5yzby58zB5bDld4jdkIjoFbcnQVZ f/wnd06EPZx6SmcEkf9zDBrCkxuTcVo3F/Wg79+AvKvniepYMEzf82k15DwjBBOr/2dh6zwlVk BEU=
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

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@xxxxxxxxxx>
---
 src/xen/module.c | 5 +++++
 1 file changed, 5 insertions(+)

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;
-- 
2.25.0.windows.1




 


Rackspace

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