KVM: VMX: remove redundant code from vmx_set_segment()
authorGleb Natapov <gleb@redhat.com>
Wed, 12 Dec 2012 17:10:53 +0000 (19:10 +0200)
committerGleb Natapov <gleb@redhat.com>
Sun, 23 Dec 2012 12:01:37 +0000 (14:01 +0200)
commit39dcfb95def4646ecdb76ea7a7491e8420dce7a7
tree36d0020b63b2566b71830bf916fe8aa71d6ea51e
parentbeb853ffeccbfa626f30038e816d61187103c455
KVM: VMX: remove redundant code from vmx_set_segment()

Segment descriptor's base is fixed by call to fix_rmode_seg(). Not need
to do it twice.

Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/vmx.c