diff options
author | Avi Kivity <avi@qumranet.com> | 2007-05-06 16:10:01 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-07-16 12:05:41 +0300 |
commit | eff708bc2bacd4f22cf844871341bef341bd096a (patch) | |
tree | 70fbedf883207909d0c66f3d185e45fe2b949845 /drivers/sn | |
parent | 47ad8e689b4f94f9fc3b2588a7aaa65e4eca667c (diff) | |
download | lwn-eff708bc2bacd4f22cf844871341bef341bd096a.tar.gz lwn-eff708bc2bacd4f22cf844871341bef341bd096a.zip |
KVM: VMX: Only reload guest msrs if they are already loaded
If we set an msr via an ioctl() instead of by handling a guest exit, we
have the host state loaded, so reloading the msrs would clobber host
state instead of guest state.
This fixes a host oops (and loss of a cpu) on a guest reboot.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/sn')
0 files changed, 0 insertions, 0 deletions