From: Aaron Lewis <aaronlewis@google.com>
To: kvm@vger.kernel.org
Cc: pbonzini@redhat.com, jmattson@google.com, seanjc@google.com,
Aaron Lewis <aaronlewis@google.com>
Subject: [kvm-unit-tests PATCH v2 0/4] Add additional testing for routing L2 exceptions
Date: Tue, 14 Dec 2021 01:18:19 +0000 [thread overview]
Message-ID: <20211214011823.3277011-1-aaronlewis@google.com> (raw)
In a previous series testing was added to verify that when a #PF occured
in L2 the exception was routed to the correct place. In this series
other exceptions are tested (ie: #GP, #UD, #DE, #DB, #BP, #AC).
The first two commits in this series are bug fixes that were discovered
while making these changes. The last two implement the tests.
v1 -> v2:
- Add guest_stack_top and guest_syscall_stack_top for aligning L2's
stacks.
- Refactor test to make it more extensible (ie: Added
vmx_exception_tests array and framework around it).
- Split test into 2 commits:
1. Test infrustructure.
2. Test cases.
Aaron Lewis (4):
x86: Fix a #GP from occurring in usermode library's exception handlers
x86: Align L2's stacks
x86: Add a test framework for nested_vmx_reflect_vmexit() testing
x86: Add test coverage for nested_vmx_reflect_vmexit() testing
lib/x86/desc.c | 2 +-
lib/x86/desc.h | 5 ++
lib/x86/usermode.c | 3 +
x86/unittests.cfg | 7 ++
x86/vmx.c | 28 ++++++--
x86/vmx.h | 2 +
x86/vmx_tests.c | 161 +++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 201 insertions(+), 7 deletions(-)
--
2.34.1.173.g76aa8bc2d0-goog
next reply other threads:[~2021-12-14 1:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-14 1:18 Aaron Lewis [this message]
2021-12-14 1:18 ` [kvm-unit-tests PATCH v2 1/4] x86: Fix a #GP from occurring in usermode library's exception handlers Aaron Lewis
2021-12-14 1:18 ` [kvm-unit-tests PATCH v2 2/4] x86: Align L2's stacks Aaron Lewis
2022-01-12 19:38 ` Sean Christopherson
2021-12-14 1:18 ` [kvm-unit-tests PATCH v2 3/4] x86: Add a test framework for nested_vmx_reflect_vmexit() testing Aaron Lewis
2022-01-12 20:48 ` Sean Christopherson
2022-01-19 16:57 ` Aaron Lewis
2022-01-20 0:46 ` Sean Christopherson
2021-12-14 1:18 ` [kvm-unit-tests PATCH v2 4/4] x86: Add test coverage " Aaron Lewis
2021-12-14 12:19 ` [kvm-unit-tests PATCH v2 0/4] Add additional testing for routing L2 exceptions 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=20211214011823.3277011-1-aaronlewis@google.com \
--to=aaronlewis@google.com \
--cc=jmattson@google.com \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=seanjc@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.