Re: [Qemu-devel] PSCI with mach-virt

2013-10-23 Thread Peter Maydell
On 23 October 2013 07:28, Giridhar Maruthy wrote: > I did compare with kvmtool and found that the below fix boots SMP in > mach-virt with qemu. > > diff --git a/target-arm/kvm.c b/target-arm/kvm.c > index b92e00d..28b8e2b 100644 > --- a/target-arm/kvm.c > +++ b/target-arm/kvm.c > @@ -82,6 +82,7 @@

Re: [Qemu-devel] PSCI with mach-virt

2013-10-22 Thread Giridhar Maruthy
Hi Peter, I did compare with kvmtool and found that the below fix boots SMP in mach-virt with qemu. diff --git a/target-arm/kvm.c b/target-arm/kvm.c index b92e00d..28b8e2b 100644 --- a/target-arm/kvm.c +++ b/target-arm/kvm.c @@ -82,6 +82,7 @@ int kvm_arch_init_vcpu(CPUState *cs) init.target

Re: [Qemu-devel] PSCI with mach-virt

2013-10-21 Thread Giridhar Maruthy
Thanks Peter, I will look into it. Giridhar On 21 October 2013 19:26, Peter Maydell wrote: > On 21 October 2013 14:47, Giridhar Maruthy > wrote: >> Hi, >> >> I am using mach-virt in qemu on a kvm enabled host. >> >> With 2 cpus, the guest fails to boot the second processor. Following >> is the

Re: [Qemu-devel] PSCI with mach-virt

2013-10-21 Thread Peter Maydell
On 21 October 2013 14:47, Giridhar Maruthy wrote: > Hi, > > I am using mach-virt in qemu on a kvm enabled host. > > With 2 cpus, the guest fails to boot the second processor. Following > is the message. > CPU1: failed to boot: -22(-EINVAL) > > The PSCI device nodes are anyway passed from virt.c fi

[Qemu-devel] PSCI with mach-virt

2013-10-21 Thread Giridhar Maruthy
Hi, I am using mach-virt in qemu on a kvm enabled host. With 2 cpus, the guest fails to boot the second processor. Following is the message. CPU1: failed to boot: -22(-EINVAL) The PSCI device nodes are anyway passed from virt.c file. Is there anything extra that needs to be done to get 2 cpus wo