]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: smm_test: Test SMM enter from L2
authorVitaly Kuznetsov <vkuznets@redhat.com>
Mon, 28 Jun 2021 10:44:25 +0000 (12:44 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 15 Jul 2021 14:19:44 +0000 (10:19 -0400)
commitf18a5b50ce40aa0fa0abe741cc57a714db0a9b59
tree1d71f6e5adbc3f0fc09cc5c0db7163a42eae0098
parent7b0500bb2a7a2f827fd4bb241d19921543bb0c4f
KVM: selftests: smm_test: Test SMM enter from L2

Two additional tests are added:
- SMM triggered from L2 does not currupt L1 host state.
- Save/restore during SMM triggered from L2 does not corrupt guest/host
  state.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20210628104425.391276-7-vkuznets@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/x86_64/smm_test.c