From: Masaki Kanno Subject: [PATCH] Update VCPUs_live Date: Mon, 16 Feb 2009 11:58:16 +0900 Message-ID: <53C98FE26A1B97kanno.masaki@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-q9ALgy3t6vEyhm1aDgdNI" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-q9ALgy3t6vEyhm1aDgdNI Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Content-Description: Mail message body Hi, XendConfig.py said about VCPUs_live as follows. -- the number of VCPUs currently up, as reported by Xen. But the value of VCPUs_live always is 1 till xm vcpu-set get executed. This patch updates VCPUs_live by using online_vcpus. Signed-off-by: Masaki Kanno Best regards, Kan --Boundary-q9ALgy3t6vEyhm1aDgdNI Content-Type: application/octet-stream; name="VCPUs_live.patch" Content-Disposition: attachment; filename="VCPUs_live.patch" Content-Transfer-Encoding: base64 ZGlmZiAtciAwOWE2ZmEwNTliMzcgdG9vbHMvcHl0aG9uL3hlbi94ZW5kL1hlbmRDb25maWcu cHkKLS0tIGEvdG9vbHMvcHl0aG9uL3hlbi94ZW5kL1hlbmRDb25maWcucHkJRnJpIEZlYiAx MyAwOTo0ODo1NiAyMDA5ICswMDAwCisrKyBiL3Rvb2xzL3B5dGhvbi94ZW4veGVuZC9YZW5k Q29uZmlnLnB5CU1vbiBGZWIgMTYgMTE6MDU6NTkgMjAwOSArMDkwMApAQCAtNDMxLDYgKzQz MSw4IEBAIGNsYXNzIFhlbmRDb25maWcoZGljdCk6CiAgICAgZGVmIF92Y3B1c19zYW5pdHlf Y2hlY2soc2VsZik6CiAgICAgICAgIGlmICdWQ1BVc19tYXgnIGluIHNlbGYgYW5kICd2Y3B1 X2F2YWlsJyBub3QgaW4gc2VsZjoKICAgICAgICAgICAgIHNlbGZbJ3ZjcHVfYXZhaWwnXSA9 ICgxIDw8IHNlbGZbJ1ZDUFVzX21heCddKSAtIDEKKyAgICAgICAgaWYgJ29ubGluZV92Y3B1 cycgaW4gc2VsZjoKKyAgICAgICAgICAgIHNlbGZbJ1ZDUFVzX2xpdmUnXSA9IHNlbGZbJ29u bGluZV92Y3B1cyddCiAKICAgICBkZWYgX3V1aWRfc2FuaXR5X2NoZWNrKHNlbGYpOgogICAg ICAgICAiIiJNYWtlIHN1cmUgVVVJRCBpcyBpbiBwcm9wZXIgc3RyaW5nIGZvcm1hdCB3aXRo IGh5cGhlbnMuIiIiCg== --Boundary-q9ALgy3t6vEyhm1aDgdNI Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-q9ALgy3t6vEyhm1aDgdNI--