That's not the case, of course, but the relevant QEMU code
has not been merged upstream yet and this is a cheap way to
show the capability is actually detected correctly.

Do not merge.

Signed-off-by: Andrea Bolognani <abolo...@redhat.com>
---
 tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies | 5 +++++
 tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml     | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies 
b/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies
index e71d69519d..55f70fb0a0 100644
--- a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies
+++ b/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies
@@ -5532,6 +5532,11 @@
       "name": "cap-vsx",
       "description": "Allow Vector Scalar Extensions (VSX)",
       "type": "bool"
+    },
+    {
+      "name": "cap-hpt-mps",
+      "description": "Maximum page shift for Hash Page Table guests (12, 16, 
24, 34)",
+      "type": "int"
     }
   ],
   "id": "libvirt-38"
diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml 
b/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml
index eb89c6cd2d..155ed2c246 100644
--- a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml
@@ -163,9 +163,10 @@
   <flag name='screendump_device'/>
   <flag name='hda-output'/>
   <flag name='blockdev-del'/>
+  <flag name='machine.pseries.cap-hpt-mps'/>
   <version>2011090</version>
   <kvmVersion>0</kvmVersion>
-  <microcodeVersion>423940</microcodeVersion>
+  <microcodeVersion>424089</microcodeVersion>
   <package>v2.12.0-rc0</package>
   <arch>ppc64</arch>
   <cpu type='kvm' name='default'/>
-- 
2.17.0

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

Reply via email to