From: Avi Kivity Date: Mon, 3 Jan 2011 12:28:51 +0000 (+0200) Subject: KVM: VMX: Save and restore tr selector across mode switches X-Git-Tag: v2.6.39-rc1~436^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0ba64f9b4b3e41e7b91681fe04a334bc8bfc8f5;p=pandora-kernel.git 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 Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed