thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone
495e37
From 5d8e4aefe49d4ea5237efc8132e44183b99ebabc Mon Sep 17 00:00:00 2001
495e37
From: Vitaly Kuznetsov <vkuznets@redhat.com>
495e37
Date: Wed, 16 Mar 2022 09:35:23 +0100
495e37
Subject: [PATCH 03/14] vmxcap: Add 5-level EPT bit
495e37
495e37
RH-Author: Vitaly Kuznetsov <vkuznets@redhat.com>
495e37
RH-MergeRequest: 126: i386: Add Icelake-Server-v6 CPU model with 5-level EPT support
495e37
RH-Commit: [1/2] 3f74e192278b8886de5dbeaf607521e9d3b744eb
495e37
RH-Bugzilla: 2038051
495e37
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
495e37
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
495e37
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
495e37
495e37
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2038051
495e37
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=43862630
495e37
495e37
commit d312378e59658473aa91aa15c67ec6200d92e5ff
495e37
Author: Vitaly Kuznetsov <vkuznets@redhat.com>
495e37
Date:   Mon Feb 21 15:53:16 2022 +0100
495e37
495e37
    vmxcap: Add 5-level EPT bit
495e37
495e37
    5-level EPT is present in Icelake Server CPUs and is supported by QEMU
495e37
    ('vmx-page-walk-5').
495e37
495e37
    Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
495e37
    Message-Id: <20220221145316.576138-2-vkuznets@redhat.com>
495e37
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
495e37
495e37
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
495e37
---
495e37
 scripts/kvm/vmxcap | 1 +
495e37
 1 file changed, 1 insertion(+)
495e37
495e37
diff --git a/scripts/kvm/vmxcap b/scripts/kvm/vmxcap
495e37
index 6fe66d5f57..f140040104 100755
495e37
--- a/scripts/kvm/vmxcap
495e37
+++ b/scripts/kvm/vmxcap
495e37
@@ -249,6 +249,7 @@ controls = [
495e37
         bits = {
495e37
             0: 'Execute-only EPT translations',
495e37
             6: 'Page-walk length 4',
495e37
+            7: 'Page-walk length 5',
495e37
             8: 'Paging-structure memory type UC',
495e37
             14: 'Paging-structure memory type WB',
495e37
             16: '2MB EPT pages',
495e37
-- 
495e37
2.31.1
495e37