]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: fix CPU model error probing capabilities for ppc
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 18 Oct 2019 18:20:43 +0000 (19:20 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 21 Oct 2019 09:25:15 +0000 (10:25 +0100)
commitd46734e7bf59a852872e2b04425f4b2ddcd89e95
treef78c5b53cb5f1b35db41aa38c99fbce7518b127d
parentf019049111aa254f5989f478a982b2ebe953dc47
qemu: fix CPU model error probing capabilities for ppc

The CPU driver only supports CPU models for PPC64 architecture, not
plain PPC.

  Failed to probe capabilities for /usr/bin/qemu-system-ppc:
  this function is not supported by the connection driver:
  'ppc' architecture is not supported by CPU driver

This fixes a bug in

  commit db873ab3bc5f6fbd7d227727a62ccfee3d1c3e9d
  Author: Jiri Denemark <jdenemar@redhat.com>
  Date:   Thu May 17 17:08:42 2018 +0200

    qemu: Adapt to changed ppc64 CPU model names

Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_capabilities.c