Skip to content
Commit 33ed6329 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Fix potential guest state leak into host



The lightweight vmexit path avoids saving and reloading certain host
state.  However in certain cases lightweight vmexit handling can schedule()
which requires reloading the host state.

So we store the host state in the vcpu structure, and reloaded it if we
relinquish the vcpu.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 7494c0cc
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