[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 0/5] Refactor and enhance RTC configuration
From: |
Blue Swirl |
Subject: |
[Qemu-devel] Re: [PATCH 0/5] Refactor and enhance RTC configuration |
Date: |
Wed, 9 Sep 2009 20:33:03 +0300 |
On Wed, Sep 9, 2009 at 6:11 PM, Jan Kiszka<address@hidden> wrote:
> The aim of this series is to allow using the emulated PC RTC (MC146818)
> as a reliable time source for guests. This is particularly useful if the
> host runs NTP or has otherwise access to an accurate clock while the
> guest has not (no network, impossible to add an NTP implementation
> etc.).
What I meant in the earlier thread is that m48t59 port read for time
or date gets the data directly from host using qemu_get_timedate().
PC RTC instead uses a timer: the timer callback updates the cmos_data
structure. It seems that you just replace the timer with a new one.
I'd remove the timer altogether and change the cmos_ioport_read to
call qemu_get_timedate().
- [Qemu-devel] Re: [PATCH 0/5] Refactor and enhance RTC configuration, (continued)
- Re: [Qemu-devel] Re: [PATCH 0/5] Refactor and enhance RTC configuration, Jamie Lokier, 2009/09/09
- Re: [Qemu-devel] Re: [PATCH 0/5] Refactor and enhance RTC configuration, Jan Kiszka, 2009/09/11
- Re: [Qemu-devel] Re: [PATCH 0/5] Refactor and enhance RTC configuration, Dor Laor, 2009/09/13
- [Qemu-devel] Re: [PATCH 0/5] Refactor and enhance RTC configuration, Jan Kiszka, 2009/09/13
- [Qemu-devel] Re: [PATCH 0/5] Refactor and enhance RTC configuration, Anthony Liguori, 2009/09/14
- [Qemu-devel] Re: [PATCH 0/5] Refactor and enhance RTC configuration, Jan Kiszka, 2009/09/14
- Re: [Qemu-devel] Re: [PATCH 0/5] Refactor and enhance RTC configuration, Markus Armbruster, 2009/09/09
Re: [Qemu-devel] Re: [PATCH 0/5] Refactor and enhance RTC configuration, Gerd Hoffmann, 2009/09/10
[Qemu-devel] Re: [PATCH 0/5] Refactor and enhance RTC configuration,
Blue Swirl <=