Skip to content
Commit a9b21b62 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: VMX: Fix host msr corruption with preemption enabled



Switching msrs can occur either synchronously as a result of calls to
the msr management functions (usually in response to the guest touching
virtualized msrs), or asynchronously when preempting a kvm thread that has
guest state loaded.  If we're unlucky enough to have the two at the same
time, host msrs are corrupted and the machine goes kaput on the next syscall.

Most easily triggered by Windows Server 2008, as it does a lot of msr
switching during bootup.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 4fa6b9c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment