xemu/target-mips
James Hogan 0e928b12c9 mips/kvm: Disable FPU on reset with KVM
KVM doesn't yet support the MIPS FPU, or writing to the guest's Config1
register which contains the FPU implemented bit. Clear QEMU's version of
that bit on reset and display a warning that the FPU has been disabled.

The previous incorrect Config1 CP0 register value wasn't being passed to
KVM yet, however we should ensure it is set correctly now to reduce the
risk of breaking migration/loadvm to a future version of QEMU/Linux that
does support it.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-07-09 18:17:04 +02:00
..
cpu-qom.h softmmu: make do_unaligned_access a method of CPU 2014-06-05 16:10:31 +02:00
cpu.c target-mips: Call kvm_mips_reset_vcpu() from mips_cpu_reset() 2014-06-18 16:59:05 +02:00
cpu.h target-mips: implement UserLocal Register 2014-06-18 18:10:47 +02:00
dsp_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
gdbstub.c cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
helper.c target-mips: get_physical_address: Add KVM awareness 2014-06-18 16:58:37 +02:00
helper.h tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
kvm_mips.h target-mips: kvm: Add main KVM support for MIPS 2014-06-18 16:58:52 +02:00
kvm.c mips/kvm: Disable FPU on reset with KVM 2014-07-09 18:17:04 +02:00
lmi_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
machine.c target-mips: implement UserLocal Register 2014-06-18 18:10:47 +02:00
Makefile.objs target-mips: Enable KVM support in build system 2014-06-18 16:59:37 +02:00
mips-defs.h target-mips: add CPU definition for MIPS32R5 2014-02-10 16:45:53 +01:00
op_helper.c target-mips: implement UserLocal Register 2014-06-18 18:10:47 +02:00
TODO target-mips: Change TODO file 2012-10-31 21:37:24 +01:00
translate_init.c target-mips: Avoid shifting left into sign bit 2014-03-27 19:22:49 +04:00
translate.c mips/kvm: Init EBase to correct KSEG0 2014-07-05 11:53:07 +02:00