mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
vmstate: accept QEMUTimer in VMSTATE_TIMER*, add VMSTATE_TIMER_PTR*
Old users of VMSTATE_TIMER* are mechanically changed to VMSTATE_TIMER_PTR variants. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
cd1bd53a66
commit
e720677e32
27 changed files with 45 additions and 33 deletions
|
@ -631,7 +631,7 @@ static const VMStateDescription vmstate_cuda_timer = {
|
|||
VMSTATE_UINT16(counter_value, CUDATimer),
|
||||
VMSTATE_INT64(load_time, CUDATimer),
|
||||
VMSTATE_INT64(next_irq_time, CUDATimer),
|
||||
VMSTATE_TIMER_TEST(timer, CUDATimer, cuda_timer_exist),
|
||||
VMSTATE_TIMER_PTR_TEST(timer, CUDATimer, cuda_timer_exist),
|
||||
VMSTATE_END_OF_LIST()
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue