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

[win-pv-devel] [PATCH 1/3] Log when filters are actually installed or removed



...rather then merely when the functions are called.

Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
 src/xenbus/filters.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/xenbus/filters.c b/src/xenbus/filters.c
index 737c839..fe0ceba 100644
--- a/src/xenbus/filters.c
+++ b/src/xenbus/filters.c
@@ -80,8 +80,6 @@ FiltersInstallClass(
 
     Trace("====>\n");
 
-    Info("%s %s\n", ClassName, DriverName);
-
     status = RegistryOpenSubKey(NULL,
                                 CLASS_PATH,
                                 KEY_ALL_ACCESS,
@@ -134,6 +132,8 @@ FiltersInstallClass(
 
     __FiltersFree(New);
 
+    Info("%s %s\n", ClassName, DriverName);
+
 done:
     if (Old != NULL)
         RegistryFreeSzValue(Old);
@@ -198,8 +198,6 @@ FiltersUninstallClass(
 
     Trace("====>\n");
 
-    Info("%s %s\n", ClassName, DriverName);
-
     status = RegistryOpenSubKey(NULL,
                                 CLASS_PATH,
                                 KEY_ALL_ACCESS,
@@ -254,6 +252,8 @@ found:
 
     __FiltersFree(New);
 
+    Info("%s %s\n", ClassName, DriverName);
+
 done:
     if (Old != NULL)
         RegistryFreeSzValue(Old);
-- 
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®.