summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2019-04-10 11:38:33 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-04-16 15:38:06 +0200
commit79904c9de0d1a6cd66853b3af802343b0ba3720c (patch)
tree6c38d3847f09fc9b1f7d5d93f07fcd5259fb0f3a /arch
parentc2390f16fc5b847a22f442a190d459beba07e86f (diff)
downloadlinux-79904c9de0d1a6cd66853b3af802343b0ba3720c.tar.gz
linux-79904c9de0d1a6cd66853b3af802343b0ba3720c.tar.bz2
linux-79904c9de0d1a6cd66853b3af802343b0ba3720c.zip
selftests: kvm: add a selftest for SMM
Add a simple test for SMM, based on VMX. The test implements its own sync between the guest and the host as using our ucall library seems to be too cumbersome: SMI handler is happening in real-address mode. This patch also fixes KVM_SET_NESTED_STATE to happen after KVM_SET_VCPU_EVENTS, in fact it places it last. This is because KVM needs to know whether the processor is in SMM or not. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions