All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Feiner <pfeiner@google.com>,
	jan.kiszka@siemens.com, kvm@vger.kernel.org
Subject: Re: [PATCH kvm-unit-tests 2/4] x86: vmx: fix vm{launch,resume} early exit logic
Date: Sat, 19 Mar 2016 10:20:58 +0100	[thread overview]
Message-ID: <56ED19FA.6010605@redhat.com> (raw)
In-Reply-To: <56ED197A.3000702@redhat.com>



On 19/03/2016 10:18, Paolo Bonzini wrote:
> 
> 
> On 18/03/2016 23:39, Peter Feiner wrote:
>> If vmlaunch or vmresume returns immediately, there's definitely been
>> an error -- rflags only needs to be consulted to determine what
>> error occurred. By setting fail=1 unconditionally, the test framework
>> will now detect problems with rflags *not* being set properly.
> 
> You should still do the setbe, and follow it with orl $2, %0.  Then if
> fail==2 there is a problem.

Nevermind, this is checked already below.

Paolo

  reply	other threads:[~2016-03-19  9:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-18 22:39 [PATCH kvm-unit-tests 0/4] x86: vmx: vm{launch,resume} improvements Peter Feiner
2016-03-18 22:39 ` [PATCH kvm-unit-tests 1/4] x86: vmx: fix vm{launch,resume} asm Peter Feiner
2016-03-18 22:39 ` [PATCH kvm-unit-tests 2/4] x86: vmx: fix vm{launch,resume} early exit logic Peter Feiner
2016-03-19  9:18   ` Paolo Bonzini
2016-03-19  9:20     ` Paolo Bonzini [this message]
2016-03-18 22:39 ` [PATCH kvm-unit-tests 3/4] x86: vmx: clean up vm{launch,resume} asm Peter Feiner
2016-03-18 22:39 ` [PATCH kvm-unit-tests 4/4] x86: vmx: better vm{launch,resume} error handling Peter Feiner
2016-03-19  9:23 ` [PATCH kvm-unit-tests 0/4] x86: vmx: vm{launch,resume} improvements 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=56ED19FA.6010605@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=kvm@vger.kernel.org \
    --cc=pfeiner@google.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.