[Top][All Lists]

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

[Qemu-devel] Re: [PATCH 12/12] qdev/isa: convert real time clock

From: Gerd Hoffmann
Subject: [Qemu-devel] Re: [PATCH 12/12] qdev/isa: convert real time clock
Date: Wed, 09 Sep 2009 21:43:00 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3

--- a/hw/mc146818rtc.c
+++ b/hw/mc146818rtc.c
@@ -63,10 +63,11 @@
  #define REG_C_AF   0x20

  struct RTCState {
+    ISADevice dev;
      uint8_t cmos_data[128];
      uint8_t cmos_index;
      struct tm current_tm;
-    int base_year;
+    uint32_t base_year;

Self-NACK. This sign change breaks some math and makes my VMs time-travel to 2005 ...


reply via email to

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