On 21 October 2013 14:47, Giridhar Maruthy <giridhar.maru...@linaro.org> 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 file. > Is there anything extra that needs to be done to get 2 cpus working?
In theory it should work (it works for kvmtool and there is code to support it in the qemu patches). However I haven't tested it and it's quite possible it got accidentally broken in the course of the various rebasings and rewritings the mach-virt patches have gone through. Feel free to debug it :-) thanks -- PMM