On Sun, Dec 18, 2016 at 14:22:29 -0500, Jason J. Herne wrote:
> From: "Collin L. Walling" <wall...@linux.vnet.ibm.com>
> 
> Qemu has abandoned the +/-feature syntax in favor of key=value. Some
> architectures (s390) do not support +/-feature. So we update libvirt to handle
> both formats.
> 
> If we detect a sufficiently new Qemu (indicated by support for qmp
> query-cpu-model-expansion) we use key=value else we fall back to +/-feature.
> 
> Signed-off-by: Collin L. Walling <wall...@linux.vnet.ibm.com>
> Signed-off-by: Jason J. Herne <jjhe...@linux.vnet.ibm.com>
> ---
>  src/qemu/qemu_command.c                            | 18 +++++++++++++++--
>  .../qemuxml2argv-cpu-s390-features.args            | 19 ++++++++++++++++++
>  .../qemuxml2argv-cpu-s390-features.xml             | 23 
> ++++++++++++++++++++++
>  tests/qemuxml2argvtest.c                           |  2 ++
>  4 files changed, 60 insertions(+), 2 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-s390-features.args
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-s390-features.xml

ACK

Jirka

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to