Re: [Qemu-devel] [PATCH 4/4] mos6522: convert VMSTATE_TIMER_PTR_TEST to VMSTATE_TIMER_PTR

2018-06-07 Thread Peter Maydell
On 7 June 2018 at 18:17, Mark Cave-Ayland wrote: > The timers are configured in the mos6522 init function and therefore will > always exist, so the function can never return false. > > Peter also pointed out that this is the only remaining user of > VMSTATE_TIMER_PTR_TEST in the codebase, so we

[Qemu-devel] [PATCH 4/4] mos6522: convert VMSTATE_TIMER_PTR_TEST to VMSTATE_TIMER_PTR

2018-06-07 Thread Mark Cave-Ayland
The timers are configured in the mos6522 init function and therefore will always exist, so the function can never return false. Peter also pointed out that this is the only remaining user of VMSTATE_TIMER_PTR_TEST in the codebase, so we might as well just convert it over to VMSTATE_TIMER_PTR and