qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Time drift again.
Date: Tue, 16 Dec 2008 08:56:59 -0600	[thread overview]
Message-ID: <4947C1BB.2060202@codemonkey.ws> (raw)
In-Reply-To: <20081216122511.GE13794@redhat.com>

Gleb Natapov wrote:
> +
>  RTCState *rtc_init(int base, qemu_irq irq)
>  {
>      RTCState *s;
> @@ -483,6 +532,9 @@ RTCState *rtc_init(int base, qemu_irq irq)
>      register_ioport_read(base, 2, 1, cmos_ioport_read, s);
>  
>      register_savevm("mc146818rtc", base, 1, rtc_save, rtc_load, s);
> +#ifdef TARGET_I386
> +    register_savevm("mc146818rtc-td", base, 1, rtc_save_td, rtc_load_td, s);
> +#endif
>   

This should be conditional on whether TDF is enabled or not (these 
fields are meaningless if it's not enabled).

Modulo documentation, I think this patch is just about the best we can 
do.  I'm inclined to commit this once you've sent out an updated patch 
unless anyone has major objections.

Regards,

Anthony Liguori

  parent reply	other threads:[~2008-12-16 14:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-16 12:25 [Qemu-devel] [PATCH] Time drift again Gleb Natapov
2008-12-16 12:33 ` Paul Brook
2008-12-16 12:38   ` Gleb Natapov
2008-12-16 15:02     ` Gleb Natapov
2008-12-16 15:36       ` Blue Swirl
2008-12-16 14:56 ` Anthony Liguori [this message]
2008-12-17 10:25   ` Gleb Natapov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4947C1BB.2060202@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).