thebeanogamer / rpms / qemu-kvm

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