[PATCH] cpu_map.xml: Expose svm flag for nested kvm on AMD CPU model

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

 



QEMU commit 75d373e disables svm by default since PC machine 2.2.
So with PC machine version > 2.1, When a user wants to expose the
svm flag to a guest, says:

......
  <feature policy='require' name='svm'/>
......

The svm flag wont be passed to qemu command line, This patch fixes it.

Signed-off-by: Lin Ma <lma@xxxxxxxx>
---
 src/cpu/cpu_map.xml | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
index 0b6d424..8f96843 100644
--- a/src/cpu/cpu_map.xml
+++ b/src/cpu/cpu_map.xml
@@ -686,7 +686,6 @@
       <feature name='sep'/>
       <feature name='sse'/>
       <feature name='sse2'/>
-      <feature name='svm'/>
       <feature name='syscall'/>
       <feature name='tsc'/>
     </model>
@@ -1195,7 +1194,6 @@
       <feature name='sep'/>
       <feature name='sse'/>
       <feature name='sse2'/>
-      <feature name='svm'/>
       <feature name='syscall'/>
       <feature name='tsc'/>
     </model>
@@ -1257,7 +1255,6 @@
       <feature name='sep'/>
       <feature name='sse'/>
       <feature name='sse2'/>
-      <feature name='svm'/>
       <feature name='syscall'/>
       <feature name='tsc'/>
     </model>
@@ -1295,7 +1292,6 @@
       <feature name='sse'/>
       <feature name='sse2'/>
       <feature name='sse4a'/>
-      <feature name='svm'/>
       <feature name='syscall'/>
       <feature name='tsc'/>
     </model>
@@ -1341,7 +1337,6 @@
       <feature name='sse4.2'/>
       <feature name='sse4a'/>
       <feature name='ssse3'/>
-      <feature name='svm'/>
       <feature name='syscall'/>
       <feature name='tsc'/>
       <feature name='xop'/>
@@ -1391,7 +1386,6 @@
       <feature name='sse4.2'/>
       <feature name='sse4a'/>
       <feature name='ssse3'/>
-      <feature name='svm'/>
       <feature name='syscall'/>
       <feature name='tbm'/>
       <feature name='tsc'/>
-- 
2.1.4

--
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]