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-devel

[Xen-devel] [PATCH] Fix xm vcpu-set command for the managed domain

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix xm vcpu-set command for the managed domain
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Wed, 20 Jun 2007 13:50:02 +0900
Delivery-date: Tue, 19 Jun 2007 21:48:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Currently, the number of VCPUs of the managed domain does not 
change immediately after xm vcpu-set command.  We finally can 
confirm that it changed after starting the domain by xm start 
command. 

# xm list vm1
Name                                        ID   Mem VCPUs      State   Time(s)
vm1                                              256     2                 0.0
# xm vcpu-set vm1 1
# xm list vm1
Name                                        ID   Mem VCPUs      State   Time(s)
vm1                                              256     2                 0.0
# xm start vm1
# xm list vm1
Name                                        ID   Mem VCPUs      State   Time(s)
vm1                                          1   256     1     -b----     24.3


This patch changes the number of VCPUs of the managed domain 
immediately after xm vcpu-set command. 

# xm list vm1
Name                                        ID   Mem VCPUs      State   Time(s)
vm1                                              256     2                 0.0
# xm vcpu-set vm1 1
# xm list vm1
Name                                        ID   Mem VCPUs      State   Time(s)
vm1                                              256     1                 0.0


Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: xm_vcpuset.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix xm vcpu-set command for the managed domain, Masaki Kanno <=