libvirt/tests/qemucapabilitiesdata
Daniel Henrique Barboza 86a8e5a84c qemu: Add capability for the ccf-assist pSeries feature
Linux kernel 5.1 added a new PPC KVM capability named
KVM_PPC_CPU_CHAR_BCCTR_FLUSH_ASSIST, which is exposed to the QEMU guest
since QEMU commit 8ff43ee404d under a new sPAPR capability called
SPAPR_CAP_CCF_ASSIST. This cap indicates whether the processor supports
hardware acceleration for the count cache flush workaround, which
is a software workaround that flushes the count cache on context
switch. If the processor has this hardware acceleration, the software
flush can be shortened, resulting in performance gain.

This hardware acceleration is defaulted to 'off' in QEMU. The reason
is that earlier versions of the Power 9 processor didn't support
it (it is available on Power 9 DD2.3 and newer), and defaulting this
option to 'on' would break migration compatibility between the Power 9
processor class.

However, the user running a P9 DD2.3+ hypervisor might want to create
guests with ccf-assist=on, accepting the downside of only being able
to migrate them only between other P9 DD2.3+ hosts running upstream
kernel 5.1+, to get a performance boost.

This patch adds this new capability to Libvirt, with the name of
QEMU_CAPS_MACHINE_PSERIES_CAP_CCF_ASSIST.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2019-10-09 17:45:09 -04:00
..
caps_1.5.3.x86_64.replies qemu: capabilities: Probe caps for 'ide-hd' instead of 'ide-drive' 2019-02-08 08:30:38 +01:00
caps_1.5.3.x86_64.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_1.6.0.x86_64.replies qemu: capabilities: Probe caps for 'ide-hd' instead of 'ide-drive' 2019-02-08 08:30:38 +01:00
caps_1.6.0.x86_64.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_1.7.0.x86_64.replies qemu: capabilities: Probe caps for 'ide-hd' instead of 'ide-drive' 2019-02-08 08:30:38 +01:00
caps_1.7.0.x86_64.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_2.1.1.x86_64.replies qemu: capabilities: Probe caps for 'ide-hd' instead of 'ide-drive' 2019-02-08 08:30:38 +01:00
caps_2.1.1.x86_64.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_2.4.0.x86_64.replies qemu: capabilities: Probe caps for 'ide-hd' instead of 'ide-drive' 2019-02-08 08:30:38 +01:00
caps_2.4.0.x86_64.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_2.5.0.x86_64.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.5.0.x86_64.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_2.6.0.aarch64.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.6.0.aarch64.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_2.6.0.ppc64.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.6.0.ppc64.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_2.6.0.x86_64.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.6.0.x86_64.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_2.7.0.s390x.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.7.0.s390x.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_2.7.0.x86_64.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.7.0.x86_64.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_2.8.0.s390x.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.8.0.s390x.xml qemu_capabilities: introduce QEMU_CAPS_QUERY_CPU_MODEL_COMPARISON 2019-10-07 10:10:17 +02:00
caps_2.8.0.x86_64.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.8.0.x86_64.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_2.9.0.ppc64.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.9.0.ppc64.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_2.9.0.s390x.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.9.0.s390x.xml qemu_capabilities: introduce QEMU_CAPS_QUERY_CPU_MODEL_COMPARISON 2019-10-07 10:10:17 +02:00
caps_2.9.0.x86_64.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.9.0.x86_64.xml qemu: Probe for max-x86_64-cpu type 2019-06-20 00:22:38 +02:00
caps_2.10.0.aarch64.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.10.0.aarch64.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_2.10.0.ppc64.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.10.0.ppc64.xml qemu: Always assume QEMU_CAPS_REALTIME_MLOCK 2019-04-12 13:39:42 +02:00
caps_2.10.0.s390x.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.10.0.s390x.xml qemu_capabilities: introduce QEMU_CAPS_QUERY_CPU_MODEL_COMPARISON 2019-10-07 10:10:17 +02:00
caps_2.10.0.x86_64.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.10.0.x86_64.xml qemu: Probe for max-x86_64-cpu type 2019-06-20 00:22:38 +02:00
caps_2.11.0.s390x.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.11.0.s390x.xml qemu_capabilities: introduce QEMU_CAPS_QUERY_CPU_MODEL_COMPARISON 2019-10-07 10:10:17 +02:00
caps_2.11.0.x86_64.replies qemu: caps: Don't call 'query-events' when we probe events from QMP schema 2019-02-08 10:11:20 +01:00
caps_2.11.0.x86_64.xml qemu: Probe for max-x86_64-cpu type 2019-06-20 00:22:38 +02:00
caps_2.12.0.aarch64.replies tests: Update replies for QEMU 2.12.0 on aarch64 2019-08-12 16:49:31 +02:00
caps_2.12.0.aarch64.xml tests: Update replies for QEMU 2.12.0 on aarch64 2019-08-12 16:49:31 +02:00
caps_2.12.0.ppc64.replies qemu: Probe canonicalized machine type 2019-05-17 14:59:34 +02:00
caps_2.12.0.ppc64.xml qemu: Adapt to changed ppc64 CPU model names 2019-10-09 09:53:41 +02:00
caps_2.12.0.s390x.replies qemu: Only probe available machine types 2019-05-17 14:59:40 +02:00
caps_2.12.0.s390x.xml qemu_capabilities: introduce QEMU_CAPS_QUERY_CPU_MODEL_COMPARISON 2019-10-07 10:10:17 +02:00
caps_2.12.0.x86_64.replies qemu: Probe host CPU after capabilities 2019-06-20 00:22:38 +02:00
caps_2.12.0.x86_64.xml qemu: Probe for max-x86_64-cpu type 2019-06-20 00:22:38 +02:00
caps_3.0.0.ppc64.replies qemu: Probe canonicalized machine type 2019-05-17 14:59:34 +02:00
caps_3.0.0.ppc64.xml qemu: add ramfb capability 2019-10-09 14:46:30 -04:00
caps_3.0.0.riscv32.replies qemu: Introduce QEMU_CAPS_MACHINE_VIRT_IOMMU 2019-06-03 17:40:45 +02:00
caps_3.0.0.riscv32.xml qemu: add ramfb capability 2019-10-09 14:46:30 -04:00
caps_3.0.0.riscv64.replies qemu: Introduce QEMU_CAPS_MACHINE_VIRT_IOMMU 2019-06-03 17:40:45 +02:00
caps_3.0.0.riscv64.xml qemu: add ramfb capability 2019-10-09 14:46:30 -04:00
caps_3.0.0.s390x.replies qemu: Only probe available machine types 2019-05-17 14:59:40 +02:00
caps_3.0.0.s390x.xml qemu: add ramfb capability 2019-10-09 14:46:30 -04:00
caps_3.0.0.x86_64.replies qemu: Probe host CPU after capabilities 2019-06-20 00:22:38 +02:00
caps_3.0.0.x86_64.xml qemu: add ramfb capability 2019-10-09 14:46:30 -04:00
caps_3.1.0.ppc64.replies tests: Refresh capabilities for QEMU on ppc64 2019-05-17 14:59:37 +02:00
caps_3.1.0.ppc64.xml qemu: Adapt to changed ppc64 CPU model names 2019-10-09 09:53:41 +02:00
caps_3.1.0.x86_64.replies qemu: Probe host CPU after capabilities 2019-06-20 00:22:38 +02:00
caps_3.1.0.x86_64.xml qemu: add ramfb capability 2019-10-09 14:46:30 -04:00
caps_4.0.0.aarch64.replies qemu: Introduce QEMU_CAPS_MACHINE_VIRT_IOMMU 2019-06-03 17:40:45 +02:00
caps_4.0.0.aarch64.xml qemu: add ramfb capability 2019-10-09 14:46:30 -04:00
caps_4.0.0.ppc64.replies tests: Refresh capabilities for QEMU on ppc64 2019-05-17 14:59:37 +02:00
caps_4.0.0.ppc64.xml qemu: Add capability for the ccf-assist pSeries feature 2019-10-09 17:45:09 -04:00
caps_4.0.0.riscv32.replies qemu: Introduce QEMU_CAPS_MACHINE_VIRT_IOMMU 2019-06-03 17:40:45 +02:00
caps_4.0.0.riscv32.xml Revert "qemu: add socket datagram capability" 2019-09-19 11:38:44 +02:00
caps_4.0.0.riscv64.replies qemu: Introduce QEMU_CAPS_MACHINE_VIRT_IOMMU 2019-06-03 17:40:45 +02:00
caps_4.0.0.riscv64.xml Revert "qemu: add socket datagram capability" 2019-09-19 11:38:44 +02:00
caps_4.0.0.s390x.replies qemu: Only probe available machine types 2019-05-17 14:59:40 +02:00
caps_4.0.0.s390x.xml qemu_capabilities: introduce QEMU_CAPS_QUERY_CPU_MODEL_COMPARISON 2019-10-07 10:10:17 +02:00
caps_4.0.0.x86_64.replies qemu: Probe host CPU after capabilities 2019-06-20 00:22:38 +02:00
caps_4.0.0.x86_64.xml qemu: add ramfb capability 2019-10-09 14:46:30 -04:00
caps_4.1.0.x86_64.replies tests: qemucapabilities: Update caps of qemu-4.1 to released version 2019-09-27 09:43:37 +02:00
caps_4.1.0.x86_64.xml qemu: add ramfb capability 2019-10-09 14:46:30 -04:00
caps_4.2.0.x86_64.replies tests: add qemu capabilities data for qemu 4.2 2019-09-27 07:20:14 +02:00
caps_4.2.0.x86_64.xml qemu: add ramfb capability 2019-10-09 14:46:30 -04:00