diff options
author | Avi Kivity <avi@redhat.com> | 2011-01-03 14:28:51 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-03-17 13:08:25 -0300 |
commit | d0ba64f9b4b3e41e7b91681fe04a334bc8bfc8f5 (patch) | |
tree | 7c3e5a556f968181bf2ee68b5fa9005a15c90a19 /arch/x86/pci/fixup.c | |
parent | bc9c1933d9db227d991736382ddca21ed520c0ea (diff) |
KVM: VMX: Save and restore tr selector across mode switches
When emulating real mode we play with tr hidden state, but leave
tr.selector alone. That works well, except for save/restore, since
loading TR writes it to the hidden state in vmx->rmode.
Fix by also saving and restoring the tr selector; this makes things
more consistent and allows migration to work during the early
boot stages of Windows XP.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/pci/fixup.c')
0 files changed, 0 insertions, 0 deletions