mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -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
|
@ -234,7 +234,7 @@ static const VMStateDescription vmstate_acpi = {
|
|||
VMSTATE_UINT16(ar.pm1.evt.en, VT686PMState),
|
||||
VMSTATE_UINT16(ar.pm1.cnt.cnt, VT686PMState),
|
||||
VMSTATE_STRUCT(apm, VT686PMState, 0, vmstate_apm, APMState),
|
||||
VMSTATE_TIMER(ar.tmr.timer, VT686PMState),
|
||||
VMSTATE_TIMER_PTR(ar.tmr.timer, VT686PMState),
|
||||
VMSTATE_INT64(ar.tmr.overflow_time, VT686PMState),
|
||||
VMSTATE_END_OF_LIST()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue