Skip to content
Commit 7702fd1f authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Prevent guest fpu state from leaking into the host



The lazy fpu changes did not take into account that some vmexit handlers
can sleep.  Move loading the guest state into the inner loop so that it
can be reloaded if necessary, and move loading the host state into
vmx_vcpu_put() so it can be performed whenever we relinquish the vcpu.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 22b1a920
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment