Avi Kivity d0ba64f9b4 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>
2011-03-17 13:08:25 -03:00
..
2010-10-24 10:53:14 +02:00
2011-01-02 11:52:48 +02:00
2010-10-24 10:53:14 +02:00
2010-03-01 12:36:00 -03:00
2011-01-12 11:29:08 +02:00
2010-10-24 10:53:14 +02:00