[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen |
Date: |
Sun, 20 Nov 2011 16:53:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 |
On 11/18/2011 04:54 PM, Anthony Liguori wrote:
>
> Thinking more about it, I think this entire line of thinking is wrong
> (including mine) :-)
>
> The problem you're trying to solve is that the RTC fires two 1 second
> timers regardless of whether the guest is reading the wall clock time,
> right? And since wall clock time is never read from the QEMU RTC in
> Xen, it's a huge waste?
>
> The Right Solution would be to modify the RTC emulation such that it
> did a qemu_get_clock() during read of the CMOS registers in order to
> ensure the time was up to date (instead of using 1 second timers).
>
> Then the timers wouldn't even exist anymore.
That would make host time adjustments (suspend/resume) be reflected in
the guest.
Not sure if that's good or bad, but it's different.
--
error compiling committee.c: too many arguments to function
- [Qemu-devel] [PATCH 0/4] prevent Qemu from waking up needlessly, Stefano Stabellini, 2011/11/15
- [Qemu-devel] [PATCH 2/4] xen: do not initialize the interval timer emulator, stefano.stabellini, 2011/11/15
- [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, stefano.stabellini, 2011/11/15
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Anthony Liguori, 2011/11/15
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Stefano Stabellini, 2011/11/15
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Stefano Stabellini, 2011/11/18
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Anthony Liguori, 2011/11/18
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Anthony Liguori, 2011/11/18
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen,
Avi Kivity <=
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Anthony Liguori, 2011/11/21
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Stefano Stabellini, 2011/11/21
- Re: [Qemu-devel] [PATCH 1/4] xen: introduce mc146818rtcxen, Paolo Bonzini, 2011/11/21
[Qemu-devel] [PATCH 4/4] qemu_calculate_timeout: increase minimum timeout to 1h, stefano.stabellini, 2011/11/15
[Qemu-devel] [PATCH 3/4] xen: introduce an event channel for buffered io event notifications, stefano.stabellini, 2011/11/15