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

[Xen-changelog] Replace calls to deprecated xm set-vcpus with calls to new shiny xm vcpu-set.



# 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


 


Rackspace

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