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

[win-pv-devel] [PATCH] Log Value in UnplugSetRequest() as well as ValueName



A zero value is equivalent to a non-existent registry parameter so
not logging the value can sometimes be misleading.

Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
 src/xen/unplug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xen/unplug.c b/src/xen/unplug.c
index 2043591..cf17b69 100644
--- a/src/xen/unplug.c
+++ b/src/xen/unplug.c
@@ -221,7 +221,7 @@ UnplugSetRequest(
 
     (VOID) RegistryDeleteValue(UnplugKey, ValueName);
 
-    Info("%s\n", ValueName);
+    Info("%s (%u)\n", ValueName, Value);
 
     AcquireHighLock(&Context->Lock, &Irql);
     Context->Request[Type] = (Value != 0) ? TRUE : FALSE;
-- 
2.5.3


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://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®.