[PATCH] target/ppc: Remove "compat" property of server class POWER CPUs

Ján Tomko jtomko at redhat.com
Tue Dec 1 14:49:58 UTC 2020


On a Tuesday in 2020, Greg Kurz wrote:
>This property has been deprecated since QEMU 5.0 by commit 22062e54bb68.
>We only kept a legacy hack that internally converts "compat" into the
>official "max-cpu-compat" property of the pseries machine type.
>
>According to our deprecation policy, we could have removed it for QEMU 5.2
>already. Do it now ; since ppc_cpu_parse_featurestr() now just calls the
>generic parent_parse_features handler, drop it as well.
>
>Users are supposed to use the "max-cpu-compat" property of the pseries
>machine type instead.
>

For libvirt:
Reviewed-by: Ján Tomko <jtomko at redhat.com>

We use the new option as of libvirt commit:

commit 2b041dc8c7b70e762d99b6bd7805daa9961740f6
Author:     Shivaprasad G Bhat <sbhat at linux.vnet.ibm.com>
AuthorDate: 2018-01-05 19:18:00 +0530
Commit:     Andrea Bolognani <abologna at redhat.com>
CommitDate: 2018-01-05 17:12:14 +0100

     qemu: Add support for pseries machine's max-cpu-compat= parameter

Jano

>Signed-off-by: Greg Kurz <groug at kaod.org>
>---
> docs/system/deprecated.rst      |  7 ----
> target/ppc/translate_init.c.inc | 59 ---------------------------------
> 2 files changed, 66 deletions(-)
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201201/f2668992/attachment-0001.sig>


More information about the libvir-list mailing list