]> git.karo-electronics.de Git - linux-beck.git/commitdiff
KVM: remove pre_task_link setting in save_state_to_tss16
authorJuan Quintela <quintela@redhat.com>
Wed, 30 Sep 2009 15:39:07 +0000 (17:39 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:13 +0000 (09:32 +0200)
Now, also remove pre_task_link setting in save_state_to_tss16.

  commit b237ac37a149e8b56436fabf093532483bff13b0
  Author: Gleb Natapov <gleb@redhat.com>
  Date:   Mon Mar 30 16:03:24 2009 +0300

    KVM: Fix task switch back link handling.

CC: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c

index 6f758567831a2eba3d0109bc177a8e18382ed247..5f44d565cc9be9a62b6851b64178e855f2e497fd 100644 (file)
@@ -4203,7 +4203,6 @@ static void save_state_to_tss16(struct kvm_vcpu *vcpu,
        tss->ss = get_segment_selector(vcpu, VCPU_SREG_SS);
        tss->ds = get_segment_selector(vcpu, VCPU_SREG_DS);
        tss->ldt = get_segment_selector(vcpu, VCPU_SREG_LDTR);
-       tss->prev_task_link = get_segment_selector(vcpu, VCPU_SREG_TR);
 }
 
 static int load_state_from_tss16(struct kvm_vcpu *vcpu,