On 01/02/2020 23.46, Greg Kurz wrote: > Some default features of the pseries machine are only available with > KVM. Warnings are printed when the pseries machine is used with another > accelerator: > > qemu-system-ppc64: warning: TCG doesn't support requested feature, > cap-ccf-assist=on > qemu-system-ppc64: warning: Firmware Assisted Non-Maskable > Interrupts(FWNMI) not supported in TCG > qemu-system-ppc64: warning: TCG doesn't support requested feature, > cap-ccf-assist=on > qemu-system-ppc64: warning: Firmware Assisted Non-Maskable > Interrupts(FWNMI) not supported in TCG > qemu-system-ppc64: warning: TCG doesn't support requested feature, > cap-ccf-assist=on > qemu-system-ppc64: warning: Firmware Assisted Non-Maskable > Interrupts(FWNMI) not supported in TCG > > This is annoying for CI since it usually runs without KVM. We already > disable features that emit similar warnings thanks to properties of the > pseries machine, but this is open-coded in various places. Consolidate > the set of properties in a single place. Extend it to silent the above > warnings. And use it in the various tests that start pseries machines. > > Signed-off-by: Greg Kurz <gr...@kaod.org> > ---
Reviewed-by: Thomas Huth <th...@redhat.com>