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

[libvirt] [PATCH] Fix virsh sched-credit for xend



# HG changeset patch
# User john levon sun com
# Date 1232675291 28800
# Node ID 415bfd87e0ecd7751ed6df372e82da0e3991d617
# Parent  68e14fe50dfa88a4694bc4c7a68d2f73f41c6171
Fix virsh sched-credit for xend

Need to pass domain in the xend op for shut-down domains.
(This also requires xend fixes, but this patch doesn't make things
worse.)

Signed-off-by: John Levon <john levon sun com>

diff --git a/src/xend_internal.c b/src/xend_internal.c
--- a/src/xend_internal.c
+++ b/src/xend_internal.c
@@ -4665,7 +4665,7 @@ xenDaemonSetSchedulerParameters(virDomai
 
             ret = xend_op(domain->conn, domain->name, "op",
                           "domain_sched_credit_set", "weight", buf_weight,
-                          "cap", buf_cap, NULL);
+                          "cap", buf_cap, "dom", domain->name, NULL);
             break;
         }
         default:


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