From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sbi8t-0001vA-32 for qemu-devel@nongnu.org; Mon, 04 Jun 2012 21:01:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sbi8o-0002ud-Md for qemu-devel@nongnu.org; Mon, 04 Jun 2012 21:01:02 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:58704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sbi8o-0002p7-E9 for qemu-devel@nongnu.org; Mon, 04 Jun 2012 21:00:58 -0400 Received: by mail-pb0-f45.google.com with SMTP id ro12so7301741pbb.4 for ; Mon, 04 Jun 2012 18:00:57 -0700 (PDT) Sender: fluxion From: Michael Roth Date: Mon, 4 Jun 2012 20:00:14 -0500 Message-Id: <1338858018-17189-14-git-send-email-mdroth@linux.vnet.ibm.com> In-Reply-To: <1338858018-17189-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1338858018-17189-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 13/17] rtc: add _version() qidl annotations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, quintela@redhat.com, owasserm@redhat.com, yamahata@valinux.co.jp, pbonzini@redhat.com, akong@redhat.com, afaerber@suse.de 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 --- 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