target/riscv: Disable guest FP support based on virtual status
commit29409c1d921d607873268671bf11a088efb5558e
authorAlistair Francis <alistair.francis@wdc.com>
Sat, 1 Feb 2020 01:02:44 +0000 (31 17:02 -0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 27 Feb 2020 21:45:47 +0000 (27 13:45 -0800)
treeca19b70bdab0008d549da3e0bdc486967d3e1c10
parente28eaed87902c5e852c3ed043b27204e879aa4e2
target/riscv: Disable guest FP support based on virtual status

When the Hypervisor extension is in use we only enable floating point
support when both status and vsstatus have enabled floating point
support.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
target/riscv/cpu_helper.c