• Avi Kivity's avatar
    KVM: Fix potential guest state leak into host · 33ed6329
    Avi Kivity authored
    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>
    33ed6329
vmx.c 55.7 KB