[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 13/17] rtc: add _version() qidl annotations
From: |
Michael Roth |
Subject: |
[Qemu-devel] [PATCH 13/17] rtc: add _version() qidl annotations |
Date: |
Mon, 4 Jun 2012 20:00:14 -0500 |
VMState relies on per-field versioning in some cases. We don't use this
for serialization, but it is needed for proper generation of VMState
field decriptions.
Signed-off-by: Michael Roth <address@hidden>
---
hw/mc146818rtc_state.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/mc146818rtc_state.h b/hw/mc146818rtc_state.h
index 9347ee6..3085bed 100644
--- a/hw/mc146818rtc_state.h
+++ b/hw/mc146818rtc_state.h
@@ -20,8 +20,8 @@ qc_declaration typedef struct RTCState {
/* second update */
int64_t next_second_time;
uint16_t _derived irq_reinject_on_ack_count;
- uint32_t irq_coalesced;
- uint32_t period;
+ uint32_t _version(2) irq_coalesced;
+ uint32_t _version(2) period;
QEMUTimer _broken *coalesced_timer;
QEMUTimer *second_timer;
QEMUTimer *second_timer2;
--
1.7.4.1
[Qemu-devel] [PATCH 12/17] rtc: add a QOM property for accessing device state, Michael Roth, 2012/06/04
[Qemu-devel] [PATCH 13/17] rtc: add _version() qidl annotations,
Michael Roth <=
[Qemu-devel] [PATCH 16/17] qidl: add qidl-generated vmstate fields for rtc, Michael Roth, 2012/06/04
[Qemu-devel] [PATCH 17/17] rtc: use qidl-generated vmstate bindings, Michael Roth, 2012/06/04