[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/3] mc146818rtc: port rtc to vmstate

From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 2/3] mc146818rtc: port rtc to vmstate
Date: Mon, 12 Oct 2009 09:42:13 -0500
User-agent: Thunderbird (X11/20090825)

Juan Quintela wrote:
Signed-off-by: Juan Quintela <address@hidden>
 hw/mc146818rtc.c |   81 ++++++++++++++++++++----------------------------------
 1 files changed, 30 insertions(+), 51 deletions(-)

diff --git a/hw/mc146818rtc.c b/hw/mc146818rtc.c
index a9d849b..4086592 100644
--- a/hw/mc146818rtc.c
+++ b/hw/mc146818rtc.c
@@ -501,59 +501,11 @@ static void rtc_set_date_from_host(RTCState *s)
     rtc_set_memory(s, REG_IBM_PS2_CENTURY_BYTE, val);

-static void rtc_save(QEMUFile *f, void *opaque)
+static int rtc_post_load(void *opaque, int version_id)
     RTCState *s = opaque;

Breaks the build because this is unused...

 #ifdef TARGET_I386
         if (rtc_td_hack) {

In target mips-softmmu.


Anthony Liguori

reply via email to

[Prev in Thread] Current Thread [Next in Thread]