kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] KVM: Fix task switch back link handling (take 2)
@ 2009-09-30 15:39 Juan Quintela
  2009-10-01 13:28 ` Marcelo Tosatti
  0 siblings, 1 reply; 2+ messages in thread
From: Juan Quintela @ 2009-09-30 15:39 UTC (permalink / raw)
  To: kvm; +Cc: Gleb Natapov

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>
---
 arch/x86/kvm/x86.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index fedac9d..e5ed2cd 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -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,
-- 
1.6.2.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] KVM: Fix task switch back link handling (take 2)
  2009-09-30 15:39 [PATCH] KVM: Fix task switch back link handling (take 2) Juan Quintela
@ 2009-10-01 13:28 ` Marcelo Tosatti
  0 siblings, 0 replies; 2+ messages in thread
From: Marcelo Tosatti @ 2009-10-01 13:28 UTC (permalink / raw)
  To: Juan Quintela; +Cc: kvm, Gleb Natapov

On Wed, Sep 30, 2009 at 05:39:07PM +0200, Juan Quintela wrote:
> 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>

Applied, thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-01 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-30 15:39 [PATCH] KVM: Fix task switch back link handling (take 2) Juan Quintela
2009-10-01 13:28 ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).