All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "jack.chen" <zhunxun@gmail.com>, KVM maillist <kvm@vger.kernel.org>
Subject: Re: kvm VMCALL question
Date: Mon, 2 Jan 2017 10:36:06 +0100	[thread overview]
Message-ID: <d2215b6f-76cd-be03-0d9f-f3ea32856ec3@redhat.com> (raw)
In-Reply-To: <CADUDsArNzwcNRDHuEyjLR4v9DxpZCdMnTR=eWJT2_mJzM7aBoA@mail.gmail.com>



On 30/12/2016 10:14, jack.chen wrote:
> hello ,I execute VMCALL in virtual machine,But no vm exit occured,is
> the VMCALL need set some bit in register or VMCS ??
> thanks!
> #define VMCALL_M __asm _EMIT 0x0f __asm _EMIT 0x01 __asm _EMIT 0xc1

If you're expecting an exit to QEMU, you won't get it; VMCALL is usually
handled entirely in the kernel.

Paolo

  parent reply	other threads:[~2017-01-02  9:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-30  9:14 kvm VMCALL question jack.chen
2017-01-02  9:12 ` Fwd: " jack.chen
2017-01-02  9:36 ` Paolo Bonzini [this message]
     [not found]   ` <CADUDsAr4yajRe8ig9Zsokn=SZo9HND-mWd9sP1KCrqucOPmb2g@mail.gmail.com>
     [not found]     ` <22d29f63-6f16-dbf6-9682-9fb1cbbf2f44@redhat.com>
2017-01-02 10:24       ` jack.chen
     [not found]         ` <CAAuJbe+RrRDLGLrwLJHQFiVfPN_6jeXyoati+HMo8o1docFKUw@mail.gmail.com>
2017-01-03 12:35           ` jack.chen

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=d2215b6f-76cd-be03-0d9f-f3ea32856ec3@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=zhunxun@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 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.