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

[win-pv-devel] [PATCH 1/3] Remove duplicate xenstore-write



Also shows num/max queues in debug callback

Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>
---
 src/xenvbd/frontend.c | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/src/xenvbd/frontend.c b/src/xenvbd/frontend.c
index b12e122..12c9296 100644
--- a/src/xenvbd/frontend.c
+++ b/src/xenvbd/frontend.c
@@ -1276,16 +1276,6 @@ FrontendConnect(
         if (!NT_SUCCESS(Status))
             goto abort;
 
-        Status = XENBUS_STORE(Printf,
-                              &Frontend->StoreInterface,
-                              Transaction,
-                              Frontend->FrontendPath,
-                              "multi-queue-num-queues",
-                              "%u",
-                              __FrontendGetNumQueues(Frontend));
-        if (!NT_SUCCESS(Status))
-            goto abort;
-
         Status = XENBUS_STORE(TransactionEnd,
                               &Frontend->StoreInterface,
                               Transaction,
@@ -1628,6 +1618,11 @@ FrontendDebugCallback(
                  &Frontend->DebugInterface,
                  "State: %s\n",
                  __XenvbdStateName(Frontend->State));
+    XENBUS_DEBUG(Printf,
+                 &Frontend->DebugInterface,
+                 "Queues: u / %u\n",
+                 __FrontendGetNumQueues(Frontend),
+                 __FrontendGetMaxQueues(Frontend));
 
     XENBUS_DEBUG(Printf,
                  &Frontend->DebugInterface,
-- 
2.16.2.windows.1


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/win-pv-devel

 


Rackspace

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