Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Arthur Chunqi Li <yzt356@gmail.com>
To: kvm@vger.kernel.org
Cc: jan.kiszka@web.de, gleb@redhat.com, pbonzini@redhat.com,
	Arthur Chunqi Li <yzt356@gmail.com>
Subject: [RFC PATCH 0/2] kvm-unit-tests: VMX: vmentry checks
Date: Fri, 13 Sep 2013 14:35:17 +0800	[thread overview]
Message-ID: <1379054119-13336-1-git-send-email-yzt356@gmail.com> (raw)

This series implement a framework to capture early exit in vmenter, means vmenter
fails to next instruction instead of causing vmexit. Then all supported features
referred in Intel SDM 26.1 and 26.2 are tested.

Some test cases are commented since they may cause fatal error of KVM, thus will
crash test environment and affect the following tests. They are hoped to uncomment
after related bugs are fixed.

Arthur Chunqi Li (2):
  kvm-unit-tests: VMX: Add vmentry failed handler to framework
  kvm-unit-tests: VMX: Add test cases for vmentry checks

 lib/x86/vm.h    |    3 +
 x86/vmx.c       |   34 +--
 x86/vmx.h       |   37 ++-
 x86/vmx_tests.c |  678 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 4 files changed, 725 insertions(+), 27 deletions(-)

-- 
1.7.9.5


             reply	other threads:[~2013-09-13  6:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-13  6:35 Arthur Chunqi Li [this message]
2013-09-13  6:35 ` [RFC PATCH 1/2] kvm-unit-tests: VMX: Add vmentry failed handler to framework Arthur Chunqi Li
2013-09-13  6:35 ` [RFC PATCH 2/2] kvm-unit-tests: VMX: Add test cases for vmentry checks Arthur Chunqi Li
2013-09-13  6:40 ` [RFC PATCH 0/2] kvm-unit-tests: VMX: " Arthur Chunqi Li

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=1379054119-13336-1-git-send-email-yzt356@gmail.com \
    --to=yzt356@gmail.com \
    --cc=gleb@redhat.com \
    --cc=jan.kiszka@web.de \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox