[libvirt] [PATCH v2 2/2] qemu: Add support for pseries machine's max-cpu-compat= parameter

Andrea Bolognani abologna at redhat.com
Fri Jan 5 16:15:09 UTC 2018


On Fri, 2018-01-05 at 19:18 +0530, Shivaprasad G Bhat wrote:
> When the -machine pseries,max-cpu-compat=X is supported use
> machine parameter instead of -cpu host,compat=X parameter as
> that is deprecated now with qemu > v2.10.

That's actually >= 2.10.

> Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1519146
> 
> Signed-off-by: Shivaprasad G Bhat <sbhat at linux.vnet.ibm.com>
> ---
>  src/qemu/qemu_command.c                            |   11 ++++++++++
>  .../pseries-machine-max-cpu-compat.args            |   21 ++++++++++++++++++++
>  .../pseries-machine-max-cpu-compat.xml             |   17 ++++++++++++++++
>  tests/qemuxml2argvtest.c                           |    5 +++++
>  4 files changed, 53 insertions(+), 1 deletion(-)
>  create mode 100644 tests/qemuxml2argvdata/pseries-machine-max-cpu-compat.args
>  create mode 100644 tests/qemuxml2argvdata/pseries-machine-max-cpu-compat.xml

Everything else looks good, so

  Reviewed-by: Andrea Bolognani <abologna at redhat.com>

I've performed some minor formatting tweaks that wouldn't justify
a full respin, addressed the commit message issue mentioned above
and pushed the series.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list