spapr: Implement dispatch tracking for tcg
commit03ef074c04a219188bbd0094ee599bd50a0a374e
authorNicholas Piggin <npiggin@gmail.com>
Thu, 18 Jul 2019 03:42:11 +0000 (18 13:42 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 21 Aug 2019 07:17:11 +0000 (21 17:17 +1000)
treee96518fe16ce1ce9c3b31ac13b3ebf5368e556d0
parent00005f222973d318a8a4d7bc7a15e251fb8cf604
spapr: Implement dispatch tracking for tcg

Implement cpu_exec_enter/exit on ppc which calls into new methods of
the same name in PPCVirtualHypervisorClass. These are used by spapr
to implement the splpar VPA dispatch counter initially.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20190718034214.14948-2-npiggin@gmail.com>
[dwg: Removed unnecessary CONFIG_USER_ONLY checks as suggested by gkurz]
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c
hw/ppc/spapr_hcall.c
include/hw/ppc/spapr.h
target/ppc/cpu.h
target/ppc/translate_init.inc.c