]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc/spapr.c
pseries: Make cpu_update during CAS unconditional
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 28 Oct 2016 13:01:05 +0000 (00:01 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 30 Jan 2017 23:10:13 +0000 (10:10 +1100)
commit5b120785e70a9a48b43e3f1f156a10a015334a28
treefae58cd4fd3b0d7b3f7c9e2744fbcb9bfa7e3ece
parent0c86d0fd92aaecc2e69041dc747299dbc0be4bb9
pseries: Make cpu_update during CAS unconditional

spapr_h_cas_compose_response() includes a cpu_update parameter which
controls whether it includes updated information on the CPUs in the device
tree fragment returned from the ibm,client-architecture-support (CAS) call.

Providing the updated information is essential when CAS has negotiated
compatibility options which require different cpu information to be
presented to the guest.  However, it should be safe to provide in other
cases (it will just override the existing data in the device tree with
identical data).  This simplifies the code by removing the parameter and
always providing the cpu update information.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
hw/ppc/spapr.c
hw/ppc/spapr_hcall.c
include/hw/ppc/spapr.h