Skip to content
Commit 41e68b69 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: vmx, svm: clean up mass updates to regs_avail/regs_dirty bits



Document the meaning of the three combinations of regs_avail and
regs_dirty.  Update regs_dirty just after writeback instead of
doing it later after vmexit.  After vmexit, instead, we clear the
regs_avail bits corresponding to lazily-loaded registers.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent c62c7bd4
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