Commit 7b6d4c8c authored by Avi Kivity's avatar Avi Kivity Committed by Greg Kroah-Hartman
Browse files

KVM: VMX: Flush volatile msrs before emulating rdmsr



(cherry picked from 516a1a7e)

Some msrs (notable MSR_KERNEL_GS_BASE) are held in the processor registers
and need to be flushed to the vcpu struture before they can be read.

This fixes cygwin longjmp() failure on Windows x64.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 4de8a03e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment