WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Replace calls to deprecated xm set-vcpus with calls to n

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Replace calls to deprecated xm set-vcpus with calls to new shiny xm vcpu-set.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Dec 2005 19:50:08 +0000
Delivery-date: Thu, 15 Dec 2005 19:52:19 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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 <=