[libvirt] [PATCH] ppc: Enable starting of VMs on ppc host

2011-04-14 Thread Stefan Berger
Subject: ppc: Enable starting of VMs on ppc host Due to differences in /proc/cpuinfo the parsing of the cpu data is different between architectures. On PPC /proc/cpuinfo looks like this: [original formatting with tabs] processor: 0 cpu : PPC970MP, altivec supported clock: 2

Re: [libvirt] [PATCH] ppc: Enable starting of VMs on ppc host

2011-04-14 Thread Eric Blake
On 04/14/2011 11:45 AM, Stefan Berger wrote: > Subject: ppc: Enable starting of VMs on ppc host > > The patch adapts the parsing of the data found in /proc/cpuinfo. > > /sys/devices/system/cpu/cpuX/topology/physical_package_id also > always returns -1. Check for it on ppc and make it '0' if found

Re: [libvirt] [PATCH] ppc: Enable starting of VMs on ppc host

2011-04-14 Thread Stefan Berger
On 04/14/2011 02:18 PM, Eric Blake wrote: On 04/14/2011 11:45 AM, Stefan Berger wrote: Subject: ppc: Enable starting of VMs on ppc host The patch adapts the parsing of the data found in /proc/cpuinfo. /sys/devices/system/cpu/cpuX/topology/physical_package_id also always returns -1. Check for i

Re: [libvirt] [PATCH] ppc: Enable starting of VMs on ppc host

2011-04-14 Thread Eric Blake
On 04/14/2011 12:56 PM, Stefan Berger wrote: > On 04/14/2011 02:18 PM, Eric Blake wrote: >> On 04/14/2011 11:45 AM, Stefan Berger wrote: >>> Subject: ppc: Enable starting of VMs on ppc host >>> >>> The patch adapts the parsing of the data found in /proc/cpuinfo. >>> >>> /sys/devices/system/cpu/cpuX