]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: capabilities: Move setting of PPC specific flags to virQEMUCapsInitQMPBasicArch
authorPeter Krempa <pkrempa@redhat.com>
Tue, 30 Mar 2021 15:15:06 +0000 (17:15 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 3 May 2021 10:14:44 +0000 (12:14 +0200)
commitfcd9bfcf13801174572fe1360540b7f0d5d1ed56
tree06a6a29f8db7fa7dd27e623685c6d30cb63675e1
parentb613404be48d5b73d2c731f746b517bb6850ace0
qemu: capabilities: Move setting of PPC specific flags to virQEMUCapsInitQMPBasicArch

QEMU_CAPS_MACHINE_PSERIES_RESIZE_HPT and
QEMU_CAPS_MACHINE_PSERIES_MAX_CPU_COMPAT are now always asserted on PPC
machine types, move them to virQEMUCapsInitQMPBasicArch.

It's now always set for AARCH64, move it into the function setting basic
caps for the emulator.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_capabilities.c
tests/qemuxml2argvdata/pseries-cpu-compat-power9.args
tests/qemuxml2argvdata/pseries-cpu-compat.args