Re: [PATCH] target/migration: Inline VMSTATE_CPU()

2025-04-29 Thread Richard Henderson
On 4/29/25 01:51, Philippe Mathieu-Daudé wrote: VMSTATE_CPU() is only used in 4 places and doesn't provide much, directly inline it using VMSTATE_STRUCT(). This removes the last COMPILING_PER_TARGET in "hw/core/cpu.h". Signed-off-by: Philippe Mathieu-Daudé --- include/hw/core/cpu.h | 1

Re: [PATCH] target/migration: Inline VMSTATE_CPU()

2025-04-29 Thread Peter Xu
On Tue, Apr 29, 2025 at 10:51:48AM +0200, Philippe Mathieu-Daudé wrote: > VMSTATE_CPU() is only used in 4 places and doesn't provide > much, directly inline it using VMSTATE_STRUCT(). > > This removes the last COMPILING_PER_TARGET in "hw/core/cpu.h". > > Signed-off-by: Philippe Mathieu-Daudé > -

[PATCH] target/migration: Inline VMSTATE_CPU()

2025-04-29 Thread Philippe Mathieu-Daudé
VMSTATE_CPU() is only used in 4 places and doesn't provide much, directly inline it using VMSTATE_STRUCT(). This removes the last COMPILING_PER_TARGET in "hw/core/cpu.h". Signed-off-by: Philippe Mathieu-Daudé --- include/hw/core/cpu.h | 12 target/alpha/machine.c | 2 +-