KVM: x86: correctly initialize the CS base on reset
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Mar 2013 15:30:26 +0000 (16:30 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 20 Mar 2013 20:34:55 +0000 (17:34 -0300)
The CS base was initialized to 0 on VMX (wrong, but usually overridden
by userspace before starting) or 0xf0000 on SVM.  The correct value is
0xffff0000, and VMX is able to emulate it now, so use it.

Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found