All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joerg Roedel <joerg.roedel@amd.com>
To: Gleb Natapov <gleb@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>, <kvm@vger.kernel.org>
Subject: Re: [RFC PATCH] emulator: Fix task switch into/out of VM86
Date: Tue, 10 Jan 2012 18:51:59 +0100	[thread overview]
Message-ID: <20120110175159.GF7166@amd.com> (raw)
In-Reply-To: <20120110113047.GM2167@redhat.com>

On Tue, Jan 10, 2012 at 01:30:47PM +0200, Gleb Natapov wrote:
> On Tue, Jan 10, 2012 at 12:25:18PM +0100, Kevin Wolf wrote:
> > Did that now, and it looks like exit_int_info is always 0 during the
> > task switch intercept for a task gate in the IDT. So special-casing VM86
> > won't help, I'm afraid.
> > 
> Joerg, do you know how can we check that task switch was cause by an
> exception triggering task gate if exit_int_info is not provided during
> intercept (short of decoding instruction that caused intercept to see if
> it's a call to a gate, which is racy) ?

Hmm, havn't found a solution yet. But I will check further and let you
know if I find out something.


	Joerg

-- 
AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632


  reply	other threads:[~2012-01-10 17:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-09 20:10 [RFC PATCH] emulator: Fix task switch into/out of VM86 Kevin Wolf
2012-01-10  3:08 ` Takuya Yoshikawa
2012-01-10  4:07 ` Takuya Yoshikawa
2012-01-10  9:01 ` Gleb Natapov
2012-01-10  9:28   ` Kevin Wolf
2012-01-10 10:17     ` Gleb Natapov
2012-01-10 11:25     ` Kevin Wolf
2012-01-10 11:30       ` Gleb Natapov
2012-01-10 17:51         ` Joerg Roedel [this message]
2012-01-16 15:37           ` Kevin Wolf
2012-01-16 15:57             ` Joerg Roedel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120110175159.GF7166@amd.com \
    --to=joerg.roedel@amd.com \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=kwolf@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.