On 10/13/23 05:56, Philippe Mathieu-Daudé wrote:
The PPCTimebase structure is only used by the sPAPR machine.
Move its declaration to "hw/ppc/spapr.h".
Move vmstate_ppc_timebase and the VMSTATE_PPC_TIMEBASE_V()
macro to hw/ppc/spapr.c, along with the timebase_foo()
migration helpers.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
  include/hw/ppc/spapr.h |   6 +++
  target/ppc/cpu-qom.h   |  22 --------
  hw/ppc/ppc.c           | 107 -------------------------------------
  hw/ppc/spapr.c         | 116 +++++++++++++++++++++++++++++++++++++++++
  4 files changed, 122 insertions(+), 129 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>


r~

Reply via email to