summary refs log tree commit diff stats
path: root/linux-user/signal.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2016-02-03 17:16:52 +0000
committerLeon Alrae <leon.alrae@imgtec.com>2016-02-26 08:59:17 +0000
commit152db36ae63c70adc95afc3228f858ef6369519a (patch)
treec160306a8396fbc20d2b4e747200ad314921f2e5 /linux-user/signal.c
parentd319f83fe997b919ac3a74fa7a66771c8f4fa3a8 (diff)
downloadfocaccia-qemu-152db36ae63c70adc95afc3228f858ef6369519a.tar.gz
focaccia-qemu-152db36ae63c70adc95afc3228f858ef6369519a.zip
mips/kvm: Support FPU in MIPS KVM guests
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 that QEMU can
save/restore the guest modifiable bits (Config5.FRE, Config5.UFR,
Config5.UFE). The FCSR/FIR registers and the floating point registers
are now saved/restored (depending on the FR mode bit).

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Leon Alrae <leon.alrae@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'linux-user/signal.c')
0 files changed, 0 insertions, 0 deletions