qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/7] hw/ppc/spapr: Restrict PPCTimebase structure declaration


From: Richard Henderson
Subject: Re: [PATCH 1/7] hw/ppc/spapr: Restrict PPCTimebase structure declaration to sPAPR
Date: Fri, 13 Oct 2023 06:24:20 -0700
User-agent: Mozilla Thunderbird

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é <philmd@linaro.org>
---
  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 <richard.henderson@linaro.org>


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]