commit | 516a1a7e9dc80358030fe01aabb3bedf882db9e2 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Sun Feb 15 02:32:07 2009 +0200 |
committer | Avi Kivity <avi@redhat.com> | Sun Feb 15 02:47:39 2009 +0200 |
tree | f1bf5820a7784d2f6ca46b82aa104230df7a3e20 | |
parent | 682edb4c01e690c7c7cd772dbd6f4e0fd74dc572 [diff] |
KVM: VMX: Flush volatile msrs before emulating rdmsr 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: Avi Kivity <avi@redhat.com>