|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Replace calls to deprecated xm set-vcpus with calls to n
# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID bbe553187504b68a5caac60979b3002303384cdf
# Parent 237b2a4d2499fbb3c9105677afb36be1c36741f5
Replace calls to deprecated xm set-vcpus with calls to new shiny xm vcpu-set.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
diff -r 237b2a4d2499 -r bbe553187504
tools/xm-test/tests/vcpu-disable/01_vcpu-disable_basic_pos.py
--- a/tools/xm-test/tests/vcpu-disable/01_vcpu-disable_basic_pos.py Thu Dec
15 13:49:19 2005
+++ b/tools/xm-test/tests/vcpu-disable/01_vcpu-disable_basic_pos.py Thu Dec
15 13:55:05 2005
@@ -50,7 +50,7 @@
FAIL(str(e))
# Disable VCPU 1
-cmd = "xm set-vcpus %s 1" % domain.getName()
+cmd = "xm vcpu-set %s 1" % domain.getName()
status, output = safecmd(cmd)
if check_status and status != 0:
FAIL("\"%s\" returned invalid %i != 0" %(cmd,status))
@@ -68,7 +68,7 @@
FAIL("failed to disable VCPU1")
# Enable VCPU 1
-cmd = "xm set-vcpus %s 2" % domain.getName()
+cmd = "xm vcpu-set %s 2" % domain.getName()
status, output = safecmd(cmd)
if check_status and status != 0:
FAIL("\"%s\" returned invalid %i != 0" %(cmd,status))
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Replace calls to deprecated xm set-vcpus with calls to new shiny xm vcpu-set.,
Xen patchbot -unstable <=
|
|
|
|
|