commit | 7702fd1f6fea57921f2e643d27a23a2d0394499c | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Thu Jun 14 16:27:40 2007 +0300 |
committer | Avi Kivity <avi@qumranet.com> | Fri Jun 15 12:30:59 2007 +0300 |
tree | 9a5275fb2f5eaccc491bfe5d9617c3da7f69aa5a | |
parent | 22b1a9203ea634ac0ee5240e021613da3328275f [diff] |
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: Avi Kivity <avi@qumranet.com>