cryptospore / rpms / qemu-kvm

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