Re: [Qemu-devel] [PATCH 8/9] mips/kvm: Support FPU in MIPS KVM guests

2015-03-12 Thread James Hogan
On 12/03/15 16:44, Paolo Bonzini wrote: > > > On 11/03/2015 16:22, James Hogan wrote: >> diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h >> index 12045a11c036..410eb158f564 100644 >> --- a/linux-headers/linux/kvm.h >> +++ b/linux-headers/linux/kvm.h >> @@ -761,6 +761,7 @@ struc

Re: [Qemu-devel] [PATCH 8/9] mips/kvm: Support FPU in MIPS KVM guests

2015-03-12 Thread Paolo Bonzini
On 11/03/2015 16:22, James Hogan wrote: > diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h > index 12045a11c036..410eb158f564 100644 > --- a/linux-headers/linux/kvm.h > +++ b/linux-headers/linux/kvm.h > @@ -761,6 +761,7 @@ struct kvm_ppc_smmu_info { > #define KVM_CAP_PPC_FIXUP_

[Qemu-devel] [PATCH 8/9] mips/kvm: Support FPU in MIPS KVM guests

2015-03-11 Thread James Hogan
Support the new KVM_CAP_MIPS_FPU capability, which allows the host's FPU to be exposed to the KVM guest. The capability is enabled if the guest core has an FPU according to its Config1 register. Various config bits are now writeable so that KVM is aware of the configuration (Config1.FP) and so tha