On Wed, Jul 25, 2012 at 8:17 AM, Rusty Russell <rusty.russ...@linaro.org>wrote:
> On Tue, 17 Jul 2012 19:19:16 +0100, Peter Maydell < > peter.mayd...@linaro.org> wrote: > > So I can't see anything better than "complain and return failure > > from kvm_arch_init_vcpu() if the guest CPU isn't going to work". > > OK, here's what I have for kvm. It matches the kernel patches I just > sent out, with the updated API. > > I rewrote all the backwards compat stuff to wrap it in #ifdef > HORRIBLE_COMPAT_HACK, but something subtle broke and it no longer set > cpsr correctly for older kernels. After wasting an afternoon on it, I > gave up and threw out the backwards compat code in digust. > > Nor does it bisect, since we update the headers as you asked, then > update the code. > > The following changes since commit > 94d477a4017d45222a4a0227857ad9fc3f81fb2d: > > Merge upstream master into qemu-linaro (2012-07-16 15:04:16 +0100) > > are available in the git repository at: > > > git://git.linaro.org/people/rusty/qemu-linaro.git msr-ops > > for you to fetch changes up to caf1e8a68ceb6ffd485e96d2f05102b095dd69bd: > > target-arm: kvm: use KVM_GET_MSRS/KVM_SET_MSRS for CP15 registers. > (2012-07-25 15:37:44 +0930) > > ---------------------------------------------------------------- > Rusty Russell (3): > Local update of linux-headers/asm-arm/kvm.h > target-arm: kvm: use KVM_ARM_VCPU_INIT to set target to Cortex A15 > target-arm: kvm: use KVM_GET_MSRS/KVM_SET_MSRS for CP15 registers. > > linux-headers/asm-arm/kvm.h | 50 +++++++++++++++++++++++++++++------- > linux-headers/linux/kvm.h | 3 +++ > target-arm/kvm.c | 60 > +++++++++++++++++++++++++++++++++---------- > 3 files changed, 91 insertions(+), 22 deletions(-) > _______________________________________________ > kvmarm mailing list > kvm...@lists.cs.columbia.edu > https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm > Hello, I've been trying to get your msr-ops linux-kvm & qemu branches to work, but so far I've not had any luck booting a guest. I'll nuke my setup and start over tomorrow to make sure I don't have something broken. Are there any known issues with the code so far? Cheers, Antonios