diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-03-19 16:30:26 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2013-03-20 17:34:55 -0300 |
commit | 04b66839d312d3bdaff77f265eb7305347fa1fb7 (patch) | |
tree | 8346919907a907179af7511232f05bef2c59c6bf /virt | |
parent | 4918c6ca6838658b71d3ce75e1a4373195ac8d40 (diff) | |
download | linux-04b66839d312d3bdaff77f265eb7305347fa1fb7.tar.gz linux-04b66839d312d3bdaff77f265eb7305347fa1fb7.tar.bz2 linux-04b66839d312d3bdaff77f265eb7305347fa1fb7.zip |
KVM: x86: correctly initialize the CS base on reset
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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions