diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-01-08 10:18:59 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-01-26 12:22:44 +0100 |
commit | e720677e32e70b1f60637ebbcf2ffb23a4607f3e (patch) | |
tree | a071194eed82e149c6d6a7acea038d4bb9cf885a /hw/block/fdc.c | |
parent | cd1bd53a669c88f219ca47b538889cd918605fea (diff) | |
download | qemu-e720677e32e70b1f60637ebbcf2ffb23a4607f3e.zip qemu-e720677e32e70b1f60637ebbcf2ffb23a4607f3e.tar.gz qemu-e720677e32e70b1f60637ebbcf2ffb23a4607f3e.tar.bz2 |
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>
Diffstat (limited to 'hw/block/fdc.c')
-rw-r--r-- | hw/block/fdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/block/fdc.c b/hw/block/fdc.c index 739a03e..2bf87c9 100644 --- a/hw/block/fdc.c +++ b/hw/block/fdc.c @@ -791,7 +791,7 @@ static const VMStateDescription vmstate_fdc_result_timer = { .version_id = 1, .minimum_version_id = 1, .fields = (VMStateField[]) { - VMSTATE_TIMER(result_timer, FDCtrl), + VMSTATE_TIMER_PTR(result_timer, FDCtrl), VMSTATE_END_OF_LIST() } }; |