Skip to content
Commit 7a08c274 authored by Alexander Graf's avatar Alexander Graf
Browse files

KVM: PPC: BookE: Support FPU on non-hv systems



When running on HV aware hosts, we can not trap when the guest sets the FP
bit, so we just let it do so when it wants to, because it has full access to
MSR.

For non-HV aware hosts with an FPU (like 440), we need to also adjust the
shadow MSR though. Otherwise the guest gets an FP unavailable trap even when
it really enabled the FP bit in MSR.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent ceb985f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment