public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Nadav Amit <cdp.ta.incharge@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Regression problem with commit 5045b46803
Date: Sun, 17 Aug 2014 08:28:16 +0200	[thread overview]
Message-ID: <53F04B80.9050704@redhat.com> (raw)
In-Reply-To: <4ACFCF76-77AB-48E5-9DDD-066A8CCF1178@gmail.com>

Il 17/08/2014 08:23, Nadav Amit ha scritto:
>>> >> Although this check is mentioned in table 7-1 of the SDM as causing a
>>> >> #TSS exception, it is not mentioned in table 6-6 that lists "invalid TSS
>>> >> conditions" which cause #TSS exceptions.
>>> >> 
>>> >> Thus, I recommend on reverting commit 5045b46803, or alternatively
>>> >> rechecking task-switch behavior on bare-metal.
>> > 
>> > Can you provide a kvm-unit-tests test for this?
> I need to put time into writing one. However, the unit test would prove nothing.
> The question is how bare-metal behaves. According to what I see, it does not perform this check.

Yes, but I still prefer to have a test, in case I find some time to fix
kvm-unit-tests to work on bare metal (or on Bochs).

There are already a few task switch tests (32-bit only).

Paolo

  reply	other threads:[~2014-08-17  6:28 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-13 17:14 Regression problem with commit 5045b46803 Nadav Amit
2014-08-17  6:17 ` Paolo Bonzini
2014-08-17  6:23   ` Nadav Amit
2014-08-17  6:28     ` Paolo Bonzini [this message]
2014-08-17  7:19       ` Nadav Amit
2014-08-17  9:35         ` Paolo Bonzini
2014-08-17 19:32           ` [PATCH] KVM: x86: Revert "check CS.DPL against RPL during task switch" Nadav Amit
2014-08-17 19:34             ` [PATCH kvm-unit-tests] x86: Test task-switch with cs.rpl != cs.dpl Nadav Amit
2014-08-19 10:27               ` Paolo Bonzini
2014-08-19 13:04                 ` [PATCH kvm-unit-tests v2] " Nadav Amit
2014-08-19 13:28                   ` Paolo Bonzini
2014-08-19 13:34                     ` Nadav Amit
2014-08-19 13:37                       ` Paolo Bonzini
2014-08-17 21:09             ` [PATCH] KVM: x86: Revert "check CS.DPL against RPL during task switch" Paolo Bonzini
2014-08-17 21:13               ` Paolo Bonzini
2014-08-17 21:33                 ` Nadav Amit
2014-08-17 21:52                   ` Paolo Bonzini
2014-08-17 21:39               ` Nadav Amit
2014-08-17 21:52                 ` Paolo Bonzini

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=53F04B80.9050704@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=cdp.ta.incharge@gmail.com \
    --cc=kvm@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox