From: Krish Sadhukhan Subject: x86: Add test for TPR threshold and vTPR check on VM-entry Date: Wed, 29 Nov 2017 19:37:54 -0500 Message-ID: <20171130003755.25658-1-krish.sadhukhan@oracle.com> Cc: pbonzini@redhat.com, rkrcmar@redhat.com, jmattson@google.com To: kvm@vger.kernel.org Return-path: Received: from userp1040.oracle.com ([156.151.31.81]:29576 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753536AbdK3App (ORCPT ); Wed, 29 Nov 2017 19:45:45 -0500 Sender: kvm-owner@vger.kernel.org List-ID: [PATCH] x86: Add test for TPR threshold and vTPR check on VM-entry This patch adds a test for the TPR-vTPR vmentry check as mentioned in 26.2.1.1 of Intel SDM Vol. 3C. x86/vmx.h | 1 + x86/vmx_tests.c | 123 +++++++++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 106 insertions(+), 18 deletions(-) Krish Sadhukhan (1): x86: Add test for TPR threshold and vTPR check on VM-entry