Re: [PATCH] cpu: Add support for al57 Intel features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2018年01月05日 02:52, John Ferlan wrote:

On 12/17/2017 06:02 PM, Shaohe Feng wrote:
We can start qemu with a "cpu,+la57" to set 57-bit vitrual address
space. So VM can be aware that it need to enable 5-level paging.

Corresponding QEMU commits:
         al57 6c7c3c21f95dd9af8a0691c0dd29b07247984122
---
  src/cpu/cpu_map.xml | 3 +++
  1 file changed, 3 insertions(+)

I think if you go through history of cpu_map.xml changes you'll find
when a new feature is added there are tests added as well - this would
thus seemingly need a test adjustment as well.
Thanks John.
Will add tests.


John

diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
index e5da7a8..922a195 100644
--- a/src/cpu/cpu_map.xml
+++ b/src/cpu/cpu_map.xml
@@ -285,6 +285,9 @@
      <feature name='ospke'>
        <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000010'/>
      </feature>
+    <feature name='la57'>
+      <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00010000'/>
+    </feature>
<feature name='avx512-4vnniw'>
        <cpuid eax_in='0x07' ecx_in='0x00' edx='0x00000004'/>


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux