Re: [libvirt] [PATCH 1/1][RESEND]Remove contiguous CPU indexes assumption

2013-03-14 Thread Li Zhang
On 2013年03月14日 19:14, Daniel P. Berrange wrote: On Thu, Mar 14, 2013 at 02:54:22PM +0800, Li Zhang wrote: From: Li Zhang When getting CPUs' information, it assumes that CPU indexes are not contiguous. But for ppc64 platform, CPU indexes are not contiguous because SMT is needed to be disabled,

Re: [libvirt] [PATCH 1/1][RESEND]Remove contiguous CPU indexes assumption

2013-03-14 Thread Daniel P. Berrange
On Thu, Mar 14, 2013 at 02:54:22PM +0800, Li Zhang wrote: > From: Li Zhang > > When getting CPUs' information, it assumes that CPU indexes > are not contiguous. But for ppc64 platform, CPU indexes are not > contiguous because SMT is needed to be disabled, so CPU information > is not right on ppc6

[libvirt] [PATCH 1/1][RESEND]Remove contiguous CPU indexes assumption

2013-03-13 Thread Li Zhang
From: Li Zhang When getting CPUs' information, it assumes that CPU indexes are not contiguous. But for ppc64 platform, CPU indexes are not contiguous because SMT is needed to be disabled, so CPU information is not right on ppc64 and vpuinfo, vcpupin can't work corretly. This patch is to remove t