Skip to contentSkip to conversation

KVM: Fix task switch back link handling (take 2)

PATCH Applied Juan Quintela 2 participants 2 messages Sep 30, 2009 – Oct 1, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM: Fix task switch back link handling (take 2)

Now, also remove pre_task_link setting in save_state_to_tss16.

commit b237ac37a149e8b56436fabf093532483bff13b0
Author: Gleb Natapov <[email protected]>
Date: Mon Mar 30 16:03:24 2009 +0300

KVM: Fix task switch back link handling.

---
 arch/x86/kvm/x86.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/x86/kvm/x86.c +0 -1
index fedac9d..e5ed2cd 100644
@@ -4196,7 +4196,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,
Signature · 1 line
1.6.2.5