From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junjie Wei Subject: Re: VM save/restore Date: Mon, 20 Aug 2012 17:05:38 -0400 Message-ID: <5032A6A2.7070802@oracle.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Keir Fraser Cc: Jan Beulich , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 08/18/2012 03:34 AM, Keir Fraser wrote: >>> >>> 1) 32-bit guests can be configured with VCPUs > 32 and started, >>> but the guest can only make use of 32 of them. > > HVM guest? I don't know why this is. You will have to investigate some more > what has happened to the rest of your VCPUs! I think it should definitely > work. Cc Jan in case he has any thoughts. > It looks like that for 32-bit guests, the VCPU -> CPU mapping only works for the first 32 VCPUs. It can be reliably reproduced. Thanks, Junjie [root@ovs087 HVM_X86]# rpm -qa | grep xen xenpvboot-0.1-8.el5 xen-tools-4.1.2-39 xen-devel-4.1.2-39 xen-4.1.2-39 [root@ovs087 HVM_X86]# uname -a Linux ovs087 2.6.39-200.30.1.el5uek #1 SMP Thu Jul 12 21:47:09 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux [root@ovs087 HVM_X86]# cat vm.cfg | grep vcpus vcpus = 36 [root@ovs087 HVM_X86]# xm list 65 Name ID Mem VCPUs State Time(s) OVM_OL5U7_X86_PVHVM_10GB 65 2048 32 r----- 33.3 [root@ovs087 HVM_X86]# xm vcpu-list 65 Name ID VCPU CPU State Time(s) CPU Affinity OVM_OL5U7_X86_PVHVM_10GB 65 0 4 -b- 10.7 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 1 0 -b- 1.8 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 2 4 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 3 2 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 4 7 -b- 1.1 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 5 5 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 6 0 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 7 3 r-- 10.6 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 8 4 -b- 0.9 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 9 7 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 10 7 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 11 2 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 12 6 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 13 4 -b- 0.9 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 14 7 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 15 5 -b- 0.9 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 16 0 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 17 6 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 18 4 -b- 0.9 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 19 5 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 20 7 -b- 0.9 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 21 0 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 22 5 -b- 0.9 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 23 4 -b- 0.9 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 24 4 -b- 0.9 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 25 0 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 26 2 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 27 6 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 28 4 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 29 7 -b- 0.9 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 30 2 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 31 0 -b- 1.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 32 - --p 0.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 33 - --p 0.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 34 - --p 0.0 any cpu OVM_OL5U7_X86_PVHVM_10GB 65 35 - --p 0.0 any cpu