public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: sci sci <scicomplete@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Create VM exits when guest executes IRET on Intel CPU ?
Date: Sat, 25 Feb 2017 04:20:13 -0500 (EST)	[thread overview]
Message-ID: <300101062.25867277.1488014413365.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <CAKxKemZbVyRePNx7Yb1PDKAJdYO4RZL=nFWgTOViNFg0WKBBoA@mail.gmail.com>

> Within the guest I run a BSD guest OS that returns from certain system
> calls using the IRET instruction.
> 
> Do you have any thoughts on where I could be wrong?

No, but I suggest using a small unit test in kvm-unit-tests
https://www.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git/
(either vmx.flat to test the VMX settings, or a test using IRET
to test your modified KVM).  Tracing the unit test with trace-cmd
can provide clues more easily.

Paolo

      parent reply	other threads:[~2017-02-25  9:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-24 10:32 Create VM exits when guest executes IRET on Intel CPU ? sci sci
2017-02-24 12:40 ` Paolo Bonzini
2017-02-24 20:20   ` sci sci
2017-02-24 21:21     ` Steve Rutherford
2017-02-24 21:23       ` Steve Rutherford
2017-02-24 22:44       ` sci sci
2017-02-25  9:20     ` Paolo Bonzini [this message]

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=300101062.25867277.1488014413365.JavaMail.zimbra@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=scicomplete@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox