From db4dd170a2ec5de4cad9730206eb976b97b30a1e Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Fri, 9 Jun 2023 16:20:00 +0200 Subject: [PATCH] tests: qemucapabilitiesdata: Update data for qemu-8.1 dev cycle Update to v8.0.0-1739-g5f9dd6a8ce and build on a newer kernel and with newer libblkio. Notable changes: - 'fdset' feature is supported for the vdpa block backend provided by libblkio - 'xsaves' feature is optional for EPYC-Rome - 'cryptodev-backend-lkcf' and 'PIIX3-xen' devices removed Signed-off-by: Peter Krempa Reviewed-by: Michal Privoznik --- .../domaincapsdata/qemu_8.1.0-q35.x86_64.xml | 5 +- .../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml | 1 - tests/domaincapsdata/qemu_8.1.0.x86_64.xml | 5 +- .../caps_8.1.0_x86_64.replies | 82 +++++++++++-------- .../caps_8.1.0_x86_64.xml | 43 ++++++++-- .../cpu-host-model.x86_64-latest.args | 2 +- 6 files changed, 89 insertions(+), 49 deletions(-) diff --git a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml b/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml index 0fccb2ef47..effa6f6630 100644 --- a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml @@ -52,7 +52,6 @@ - @@ -71,6 +70,7 @@ + qemu64 @@ -113,7 +113,7 @@ Haswell-noTSX Haswell-IBRS Haswell - EPYC-Rome + EPYC-Rome EPYC-Milan EPYC-IBPB EPYC @@ -253,7 +253,6 @@ builtin - lkcf diff --git a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml index 15ecb729a4..c36bac3fd2 100644 --- a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml @@ -253,7 +253,6 @@ builtin - lkcf diff --git a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml b/tests/domaincapsdata/qemu_8.1.0.x86_64.xml index f555cca9db..48e9444deb 100644 --- a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0.x86_64.xml @@ -51,7 +51,6 @@ - @@ -70,6 +69,7 @@ + qemu64 @@ -112,7 +112,7 @@ Haswell-noTSX Haswell-IBRS Haswell - EPYC-Rome + EPYC-Rome EPYC-Milan EPYC-IBPB EPYC @@ -253,7 +253,6 @@ builtin - lkcf diff --git a/tests/qemucapabilitiesdata/caps_8.1.0_x86_64.replies b/tests/qemucapabilitiesdata/caps_8.1.0_x86_64.replies index cf59957e98..21ce2566d3 100644 --- a/tests/qemucapabilitiesdata/caps_8.1.0_x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_8.1.0_x86_64.replies @@ -21,7 +21,7 @@ "minor": 0, "major": 8 }, - "package": "v8.0.0-1619-g369081c455" + "package": "v8.0.0-1739-g5f9dd6a8ce" }, "id": "libvirt-2" } @@ -10879,6 +10879,7 @@ ], "meta-type": "object", "features": [ + "fdset" ] }, { @@ -23993,16 +23994,16 @@ "parent": "chardev-ringbuf" }, { - "name": "Haswell-v3-x86_64-cpu", - "parent": "x86_64-cpu" + "name": "i82557a", + "parent": "pci-device" }, { "name": "vhost-user-scsi-pci-non-transitional", "parent": "vhost-user-scsi-pci-base" }, { - "name": "i82557a", - "parent": "pci-device" + "name": "vmmouse", + "parent": "isa-device" }, { "name": "chardev-udp", @@ -24021,8 +24022,8 @@ "parent": "virtio-scsi-pci-base" }, { - "name": "vmmouse", - "parent": "isa-device" + "name": "Haswell-v3-x86_64-cpu", + "parent": "x86_64-cpu" }, { "name": "migration", @@ -24560,10 +24561,6 @@ "name": "Conroe-x86_64-cpu", "parent": "x86_64-cpu" }, - { - "name": "cryptodev-backend-lkcf", - "parent": "cryptodev-backend" - }, { "name": "apic", "parent": "apic-common" @@ -24657,11 +24654,11 @@ "parent": "usb-device" }, { - "name": "IvyBridge-x86_64-cpu", + "name": "SandyBridge-v1-x86_64-cpu", "parent": "x86_64-cpu" }, { - "name": "SandyBridge-v1-x86_64-cpu", + "name": "IvyBridge-x86_64-cpu", "parent": "x86_64-cpu" }, { @@ -25284,14 +25281,14 @@ "name": "KnightsMill-v1-x86_64-cpu", "parent": "x86_64-cpu" }, - { - "name": "virtio-mmio", - "parent": "sys-bus-device" - }, { "name": "pentium2-x86_64-cpu", "parent": "x86_64-cpu" }, + { + "name": "virtio-mmio", + "parent": "sys-bus-device" + }, { "name": "Broadwell-v1-x86_64-cpu", "parent": "x86_64-cpu" @@ -25652,10 +25649,6 @@ "name": "i440FX-pcihost", "parent": "pci-host-bridge" }, - { - "name": "virtio-iommu-device", - "parent": "virtio-device" - }, { "name": "isa-debugcon", "parent": "isa-device" @@ -25689,8 +25682,8 @@ "parent": "ivshmem-common" }, { - "name": "PIIX3-xen", - "parent": "pci-piix3" + "name": "virtio-iommu-device", + "parent": "virtio-device" }, { "name": "virtio-net-pci", @@ -33543,7 +33536,8 @@ "cldemote", "movdiri", "movdir64b", - "spec-ctrl" + "spec-ctrl", + "xsaves" ], "static": false, "migration-safe": true, @@ -33560,6 +33554,7 @@ "movdir64b", "spec-ctrl", "core-capability", + "xsaves", "split-lock-detect" ], "static": false, @@ -33638,6 +33633,7 @@ "avx512vl", "pku", "spec-ctrl", + "xsaves", "avx512f", "avx512f", "avx512f", @@ -33824,7 +33820,8 @@ "pcid", "erms", "invpcid", - "spec-ctrl" + "spec-ctrl", + "xsaves" ], "static": false, "migration-safe": true, @@ -33956,6 +33953,7 @@ "fzrm", "fsrs", "fsrc", + "xsaves", "xfd", "avx512f", "avx512f", @@ -34009,6 +34007,7 @@ "fzrm", "fsrs", "fsrc", + "xsaves", "xfd", "avx512f", "avx512f", @@ -34340,6 +34339,7 @@ "la57", "fsrm", "spec-ctrl", + "xsaves", "avx512f", "avx512f", "avx512f", @@ -34376,6 +34376,7 @@ "la57", "fsrm", "spec-ctrl", + "xsaves", "avx512f", "avx512f", "avx512f", @@ -34707,6 +34708,7 @@ "name": "EPYC-v4", "typename": "EPYC-v4-x86_64-cpu", "unavailable-features": [ + "xsaves" ], "static": false, "migration-safe": true, @@ -34716,6 +34718,7 @@ "name": "EPYC-v3", "typename": "EPYC-v3-x86_64-cpu", "unavailable-features": [ + "xsaves" ], "static": false, "migration-safe": true, @@ -34753,7 +34756,8 @@ "name": "EPYC-Rome-v3", "typename": "EPYC-Rome-v3-x86_64-cpu", "unavailable-features": [ - "ibrs" + "ibrs", + "xsaves" ], "static": false, "migration-safe": true, @@ -34763,7 +34767,8 @@ "name": "EPYC-Rome-v2", "typename": "EPYC-Rome-v2-x86_64-cpu", "unavailable-features": [ - "ibrs" + "ibrs", + "xsaves" ], "static": false, "migration-safe": true, @@ -34773,6 +34778,7 @@ "name": "EPYC-Rome-v1", "typename": "EPYC-Rome-v1-x86_64-cpu", "unavailable-features": [ + "xsaves" ], "static": false, "migration-safe": true, @@ -34782,6 +34788,7 @@ "name": "EPYC-Rome", "typename": "EPYC-Rome-x86_64-cpu", "unavailable-features": [ + "xsaves" ], "alias-of": "EPYC-Rome-v1", "static": false, @@ -34803,6 +34810,7 @@ "stibp-always-on", "amd-psfd", "no-nested-data-bp", + "xsaves", "pku" ], "static": false, @@ -34819,6 +34827,7 @@ "pku", "fsrm", "ibrs", + "xsaves", "pku" ], "static": false, @@ -34835,6 +34844,7 @@ "pku", "fsrm", "ibrs", + "xsaves", "pku" ], "alias-of": "EPYC-Milan-v1", @@ -34882,6 +34892,7 @@ "amd-psfd", "no-nested-data-bp", "auto-ibrs", + "xsaves", "avx512f", "avx512f", "avx512f", @@ -34921,6 +34932,7 @@ "amd-psfd", "no-nested-data-bp", "auto-ibrs", + "xsaves", "avx512f", "avx512f", "avx512f", @@ -34945,6 +34957,7 @@ "name": "Dhyana-v2", "typename": "Dhyana-v2-x86_64-cpu", "unavailable-features": [ + "xsaves" ], "static": false, "migration-safe": true, @@ -34974,7 +34987,8 @@ "typename": "Denverton-v3-x86_64-cpu", "unavailable-features": [ "erms", - "spec-ctrl" + "spec-ctrl", + "xsaves" ], "static": false, "migration-safe": true, @@ -35038,6 +35052,7 @@ "avx512vnni", "spec-ctrl", "avx512-bf16", + "xsaves", "avx512f", "avx512f", "avx512f", @@ -35142,6 +35157,7 @@ "pku", "avx512vnni", "spec-ctrl", + "xsaves", "avx512f", "avx512f", "avx512f", @@ -37337,7 +37353,7 @@ "vaes": false, "serialize": false, "movdir64b": false, - "xsaves": true, + "xsaves": false, "vmx-shadow-vmcs": false, "lm": true, "vmx-exit-save-preemption-timer": false, @@ -37709,7 +37725,7 @@ "vaes": false, "serialize": false, "movdir64b": false, - "xsaves": true, + "xsaves": false, "vmx-shadow-vmcs": false, "lm": true, "vmx-exit-save-preemption-timer": false, @@ -38050,7 +38066,7 @@ "sgx-tokenkey": false, "cldemote": false, "vmx-ept": false, - "hv-tlbflush-direct": false, + "hv-tlbflush-direct": true, "xfd": false, "hv-reenlightenment": true, "kvm-mmu": false, @@ -38163,7 +38179,7 @@ "popcnt": true, "vaes": false, "serialize": false, - "xsaves": true, + "xsaves": false, "movdir64b": false, "vmx-shadow-vmcs": false, "tcg-cpuid": true, @@ -38264,7 +38280,7 @@ "vmx-entry-load-efer": false, "level-func7": 0, "vmx-mtf": false, - "hv-tlbflush-ext": false, + "hv-tlbflush-ext": true, "pause_filter": true, "model-id": "AMD Ryzen 9 3900X 12-Core Processor ", "sha-ni": true, diff --git a/tests/qemucapabilitiesdata/caps_8.1.0_x86_64.xml b/tests/qemucapabilitiesdata/caps_8.1.0_x86_64.xml index 58bb206f79..f717c83fec 100644 --- a/tests/qemucapabilitiesdata/caps_8.1.0_x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_8.1.0_x86_64.xml @@ -200,7 +200,6 @@ - @@ -209,7 +208,7 @@ 8000050 43100245 - v8.0.0-1619-g369081c455 + v8.0.0-1739-g5f9dd6a8ce x86_64 @@ -472,7 +471,7 @@ - + @@ -626,6 +625,7 @@ + @@ -635,6 +635,7 @@ + @@ -684,6 +685,7 @@ + @@ -812,6 +814,7 @@ + @@ -891,6 +894,7 @@ + @@ -937,6 +941,7 @@ + @@ -1053,6 +1058,7 @@ + @@ -1082,6 +1088,7 @@ + @@ -1301,8 +1308,12 @@ - - + + + + + + @@ -1310,12 +1321,18 @@ + + + + + + + + - - @@ -1328,6 +1345,7 @@ + @@ -1337,6 +1355,7 @@ + @@ -1346,6 +1365,7 @@ + @@ -1376,6 +1396,7 @@ + @@ -1408,18 +1429,22 @@ + - + + + + @@ -1454,6 +1479,7 @@ + @@ -1519,6 +1545,7 @@ + diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-latest.args b/tests/qemuxml2argvdata/cpu-host-model.x86_64-latest.args index 312754277c..dba1d9b65a 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-latest.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-latest.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain--1-QEMUGuest1/.config \ -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain--1-QEMUGuest1/master-key.aes"}' \ -machine q35,usb=off,dump-guest-core=off,memory-backend=pc.ram,acpi=off \ -accel kvm \ --cpu EPYC-Rome,x2apic=on,tsc-deadline=on,hypervisor=on,tsc-adjust=on,stibp=on,arch-capabilities=on,ssbd=on,xsaves=on,cmp-legacy=on,amd-ssbd=on,virt-ssbd=on,lbrv=on,tsc-scale=on,vmcb-clean=on,pause-filter=on,pfthreshold=on,v-vmsave-vmload=on,vgif=on,svme-addr-chk=on,lfence-always-serializing=on,null-sel-clr-base=on,rdctl-no=on,skip-l1dfl-vmentry=on,mds-no=on,pschange-mc-no=on \ +-cpu EPYC-Rome,x2apic=on,tsc-deadline=on,hypervisor=on,tsc-adjust=on,stibp=on,arch-capabilities=on,ssbd=on,cmp-legacy=on,amd-ssbd=on,virt-ssbd=on,lbrv=on,tsc-scale=on,vmcb-clean=on,pause-filter=on,pfthreshold=on,v-vmsave-vmload=on,vgif=on,svme-addr-chk=on,lfence-always-serializing=on,null-sel-clr-base=on,rdctl-no=on,skip-l1dfl-vmentry=on,mds-no=on,pschange-mc-no=on,xsaves=off \ -m size=219136k \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":224395264}' \ -overcommit mem-lock=off \