From: Thomas Tuttle <qemu-devel@ttuttle.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Clock runs at double speed in guest
Date: Wed, 28 Mar 2007 20:54:32 -0400 [thread overview]
Message-ID: <20070329005432.GA10266@lion> (raw)
[-- Attachment #1: Type: text/plain, Size: 1230 bytes --]
Hi.
I have a 64-bit dual-core (Core 2 Duo) laptop, and I'm trying to install
Gentoo AMD64 on a Qemu virtual machine.
The system clock runs at double speed. If I run `date' in a tight loop,
I can see it ticking off two seconds for every one second of real time.
The hardware clock does not run at double speed; if I run `hwclock
--hctosys', the system clock jumps back to the right time.
I have tried:
1) Setting the host's RTC's max-user-freq to 1024
2) Setting the guest's RTC's max-user-freq to 1024, just for good measure
3) Running the host with the CPU frequency locked to the minimum (1 GHz)
4) Running the host with the CPU frequency locked to the maximum (2 GHz)
This problem does not occur if:
1) The guest is booted with the kernel parameter "nolapic"
2) The guest is a 32-bit kernel
3) I manually modify hw/mc146818rtc.c to send interrupts half as
often.
I'd really like to get this fixed, because it's the only barrier to me
being able to use Qemu (and KVM) for arch testing Gentoo.
If there's any more information I can provide (if you need access to the
machine, it could be arranged), please don't hesitate to ask.
I am not subscribed to qemu-devel, so please CC me on replies.
Thanks,
Thomas Tuttle
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2007-03-29 0:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-29 0:54 Thomas Tuttle [this message]
2007-03-31 22:17 ` [Qemu-devel] Clock runs at double speed in guest C.W. Betts
2007-04-02 0:17 ` Thomas Tuttle
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=20070329005432.GA10266@lion \
--to=qemu-devel@ttuttle.net \
--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).