commit | 33ed6329210f3ad0638306bfa46cd3aaf5a5f929 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Wed May 02 16:54:03 2007 +0300 |
committer | Avi Kivity <avi@qumranet.com> | Mon Jul 16 12:05:39 2007 +0300 |
tree | 6b5b4570641fe071b3544ded46a223a11e9f338f | |
parent | 7494c0ccbb8fa0903bcb1ced89cc2b79c3624974 [diff] |
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: Avi Kivity <avi@qumranet.com>