aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-09-30 11:39:07 -0400
committerAvi Kivity <avi@redhat.com>2009-12-03 02:32:13 -0500
commit201d945bcfb0d53e67c9c081f7c28532eb4669c7 (patch)
tree6a16d9cfcc377e27158b4b152ad841ce72d11e13 /arch/x86/kvm
parent3230bb4707278dba25e24cd0a11ea7b2337678ee (diff)
KVM: remove pre_task_link setting in save_state_to_tss16
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>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/x86.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 6f758567831a..5f44d565cc9b 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -4203,7 +4203,6 @@ static void save_state_to_tss16(struct kvm_vcpu *vcpu,
4203 tss->ss = get_segment_selector(vcpu, VCPU_SREG_SS); 4203 tss->ss = get_segment_selector(vcpu, VCPU_SREG_SS);
4204 tss->ds = get_segment_selector(vcpu, VCPU_SREG_DS); 4204 tss->ds = get_segment_selector(vcpu, VCPU_SREG_DS);
4205 tss->ldt = get_segment_selector(vcpu, VCPU_SREG_LDTR); 4205 tss->ldt = get_segment_selector(vcpu, VCPU_SREG_LDTR);
4206 tss->prev_task_link = get_segment_selector(vcpu, VCPU_SREG_TR);
4207} 4206}
4208 4207
4209static int load_state_from_tss16(struct kvm_vcpu *vcpu, 4208static int load_state_from_tss16(struct kvm_vcpu *vcpu,