0727d3
From f0f87dcea3fe14b20b8599cda9b1151ca2490d0c Mon Sep 17 00:00:00 2001
0727d3
From: Jon Maloy <jmaloy@redhat.com>
0727d3
Date: Wed, 30 Mar 2022 14:52:34 -0400
0727d3
Subject: [PATCH 07/18] vmxcap: Add 5-level EPT bit
0727d3
0727d3
RH-Author: Jon Maloy <jmaloy@redhat.com>
0727d3
RH-MergeRequest: 139: vmxcap: Add 5-level EPT bit
0727d3
RH-Commit: [1/2] 4c098f551f1ed8e2a5582f466afda35b28d97055 (jmaloy/qemu-kvm)
0727d3
RH-Bugzilla: 2065207
0727d3
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
0727d3
0727d3
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2065207
0727d3
UPSTREAM: Merged
0727d3
0727d3
commit d312378e59658473aa91aa15c67ec6200d92e5ff
0727d3
Author: Vitaly Kuznetsov <vkuznets@redhat.com>
0727d3
Date:   Mon Feb 21 15:53:16 2022 +0100
0727d3
0727d3
    vmxcap: Add 5-level EPT bit
0727d3
0727d3
    5-level EPT is present in Icelake Server CPUs and is supported by QEMU
0727d3
    ('vmx-page-walk-5').
0727d3
0727d3
    Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
0727d3
    Message-Id: <20220221145316.576138-2-vkuznets@redhat.com>
0727d3
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
0727d3
0727d3
(cherry picked from commit d312378e59658473aa91aa15c67ec6200d92e5ff)
0727d3
Signed-off-by: Jon Maloy <jmaloy@redhat.com>
0727d3
---
0727d3
 scripts/kvm/vmxcap | 1 +
0727d3
 1 file changed, 1 insertion(+)
0727d3
0727d3
diff --git a/scripts/kvm/vmxcap b/scripts/kvm/vmxcap
0727d3
index 6fe66d5f57..f140040104 100755
0727d3
--- a/scripts/kvm/vmxcap
0727d3
+++ b/scripts/kvm/vmxcap
0727d3
@@ -249,6 +249,7 @@ controls = [
0727d3
         bits = {
0727d3
             0: 'Execute-only EPT translations',
0727d3
             6: 'Page-walk length 4',
0727d3
+            7: 'Page-walk length 5',
0727d3
             8: 'Paging-structure memory type UC',
0727d3
             14: 'Paging-structure memory type WB',
0727d3
             16: '2MB EPT pages',
0727d3
-- 
0727d3
2.27.0
0727d3