Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
.../qemu_2.6.0-gicv3-virt.aarch64.xml | 6 +-
tests/domaincapstest.c | 2 +-
.../caps_2.6.0-gicv3.aarch64.replies | 125 +++++++++++++++++++--
.../caps_2.6.0-gicv3.aarch64.xml | 35 +++++-
4 files changed, 151 insertions(+), 17 deletions(-)
diff --git a/tests/domaincapsschemadata/qemu_2.6.0-gicv3-virt.aarch64.xml
b/tests/domaincapsschemadata/qemu_2.6.0-gicv3-virt.aarch64.xml
index a2702f4..104c29f 100644
--- a/tests/domaincapsschemadata/qemu_2.6.0-gicv3-virt.aarch64.xml
+++ b/tests/domaincapsschemadata/qemu_2.6.0-gicv3-virt.aarch64.xml
@@ -1,6 +1,6 @@
<domainCapabilities>
<path>/usr/bin/qemu-system-aarch64</path>
- <domain>qemu</domain>
+ <domain>kvm</domain>
<machine>virt-2.6</machine>
<arch>aarch64</arch>
<vcpu max='255'/>
@@ -19,7 +19,7 @@
</loader>
</os>
<cpu>
- <mode name='host-passthrough' supported='no'/>
+ <mode name='host-passthrough' supported='yes'/>
<mode name='host-model' supported='no'/>
<mode name='custom' supported='yes'>
<model usable='unknown'>pxa262</model>
@@ -108,7 +108,7 @@
<features>
<gic supported='yes'>
<enum name='version'>
- <value>2</value>
+ <value>3</value>
</enum>
</gic>
</features>
diff --git a/tests/domaincapstest.c b/tests/domaincapstest.c
index 34bbb29..84cc1ff 100644
--- a/tests/domaincapstest.c
+++ b/tests/domaincapstest.c
@@ -429,7 +429,7 @@ mymain(void)
DO_TEST_QEMU("2.6.0-gicv3", "caps_2.6.0-gicv3",
"/usr/bin/qemu-system-aarch64", "virt",
- "aarch64", VIR_DOMAIN_VIRT_QEMU);
+ "aarch64", VIR_DOMAIN_VIRT_KVM);
DO_TEST_QEMU("2.6.0", "caps_2.6.0",
"/usr/bin/qemu-system-ppc64", NULL,
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.replies
b/tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.replies
index f1c2eab..7723c40 100644
--- a/tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.replies
+++ b/tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.replies
@@ -2,8 +2,8 @@
"QMP": {
"version": {
"qemu": {
- "micro": 94,
- "minor": 5,
+ "micro": 0,
+ "minor": 6,
"major": 2
},
"package": ""
@@ -22,8 +22,8 @@
{
"return": {
"qemu": {
- "micro": 94,
- "minor": 5,
+ "micro": 0,
+ "minor": 6,
"major": 2
},
"package": ""
@@ -454,7 +454,7 @@
{
"return": {
- "fd": 15,
+ "fd": 17,
"fdset-id": 0
},
"id": "libvirt-5"
@@ -470,7 +470,7 @@
{
"return": {
- "enabled": false,
+ "enabled": true,
"present": true
},
"id": "libvirt-7"
@@ -1526,6 +1526,9 @@
"name": "digic-uart"
},
{
+ "name": "host-arm-cpu"
+ },
+ {
"name": "i82557c"
},
{
@@ -3424,11 +3427,6 @@
"type": "bool"
},
{
- "name": "stats",
- "description": "on/off",
- "type": "bool"
- },
- {
"name": "max_outputs",
"type": "uint32"
}
@@ -3887,6 +3885,9 @@
"name": "cortex-a53"
},
{
+ "name": "host"
+ },
+ {
"name": "sa1100"
},
{
@@ -12970,3 +12971,105 @@
],
"id": "libvirt-48"
}
+
+{
+ "return": {
+ },
+ "id": "libvirt-1"
+}
+
+{
+ "return": [
+ {
+ "name": "pxa262"
+ },
+ {
+ "name": "pxa270-a0"
+ },
+ {
+ "name": "arm1136"
+ },
+ {
+ "name": "cortex-a15"
+ },
+ {
+ "name": "pxa260"
+ },
+ {
+ "name": "arm1136-r2"
+ },
+ {
+ "name": "pxa261"
+ },
+ {
+ "name": "pxa255"
+ },
+ {
+ "name": "arm926"
+ },
+ {
+ "name": "arm11mpcore"
+ },
+ {
+ "name": "pxa250"
+ },
+ {
+ "name": "ti925t"
+ },
+ {
+ "name": "cortex-a57"
+ },
+ {
+ "name": "sa1110"
+ },
+ {
+ "name": "arm1176"
+ },
+ {
+ "name": "cortex-a53"
+ },
+ {
+ "name": "sa1100"
+ },
+ {
+ "name": "pxa270-c5"
+ },
+ {
+ "name": "cortex-a9"
+ },
+ {
+ "name": "cortex-a8"
+ },
+ {
+ "name": "pxa270-c0"
+ },
+ {
+ "name": "arm1026"
+ },
+ {
+ "name": "pxa270-b1"
+ },
+ {
+ "name": "cortex-m3"
+ },
+ {
+ "name": "cortex-m4"
+ },
+ {
+ "name": "pxa270-b0"
+ },
+ {
+ "name": "arm946"
+ },
+ {
+ "name": "cortex-r5"
+ },
+ {
+ "name": "pxa270-a1"
+ },
+ {
+ "name": "pxa270"
+ }
+ ],
+ "id": "libvirt-2"
+}
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.xml
b/tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.xml
index d5a4cbb..625c354 100644
--- a/tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.xml
@@ -3,10 +3,10 @@
<selfctime>0</selfctime>
<selfvers>0</selfvers>
<usedQMP/>
+ <flag name='kvm'/>
<flag name='mem-path'/>
<flag name='drive-serial'/>
<flag name='chardev'/>
- <flag name='enable-kvm'/>
<flag name='monitor-json'/>
<flag name='sdl'/>
<flag name='netdev'/>
@@ -162,10 +162,41 @@
<flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/>
<flag name='query-qmp-schema'/>
- <version>2005094</version>
+ <version>2006000</version>
<kvmVersion>0</kvmVersion>
<package></package>
<arch>aarch64</arch>
+ <cpu type='kvm' name='pxa262'/>
+ <cpu type='kvm' name='pxa270-a0'/>
+ <cpu type='kvm' name='arm1136'/>
+ <cpu type='kvm' name='cortex-a15'/>
+ <cpu type='kvm' name='pxa260'/>
+ <cpu type='kvm' name='arm1136-r2'/>
+ <cpu type='kvm' name='pxa261'/>
+ <cpu type='kvm' name='pxa255'/>
+ <cpu type='kvm' name='arm926'/>
+ <cpu type='kvm' name='arm11mpcore'/>
+ <cpu type='kvm' name='pxa250'/>
+ <cpu type='kvm' name='ti925t'/>
+ <cpu type='kvm' name='cortex-a57'/>
+ <cpu type='kvm' name='sa1110'/>
+ <cpu type='kvm' name='arm1176'/>
+ <cpu type='kvm' name='cortex-a53'/>
+ <cpu type='kvm' name='host'/>
+ <cpu type='kvm' name='sa1100'/>
+ <cpu type='kvm' name='pxa270-c5'/>
+ <cpu type='kvm' name='cortex-a9'/>
+ <cpu type='kvm' name='cortex-a8'/>
+ <cpu type='kvm' name='pxa270-c0'/>
+ <cpu type='kvm' name='arm1026'/>
+ <cpu type='kvm' name='pxa270-b1'/>
+ <cpu type='kvm' name='cortex-m3'/>
+ <cpu type='kvm' name='cortex-m4'/>
+ <cpu type='kvm' name='pxa270-b0'/>
+ <cpu type='kvm' name='arm946'/>
+ <cpu type='kvm' name='cortex-r5'/>
+ <cpu type='kvm' name='pxa270-a1'/>
+ <cpu type='kvm' name='pxa270'/>
<cpu type='tcg' name='pxa262'/>
<cpu type='tcg' name='pxa270-a0'/>
<cpu type='tcg' name='arm1136'/>
--
2.10.2