From: Erik Rull <erik.rull@rdsoftware.de>
To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Missing guest clock-sync on Host clock change
Date: Thu, 27 Mar 2014 09:41:02 +0100 [thread overview]
Message-ID: <5333E41E.2050803@rdsoftware.de> (raw)
Hi all,
I would like to have the guest "drifting" to a new set clock on the host.
My problem is the following:
- Host System (Linux) starts up, hwclock and kernel time are synced, guest
starts up with -rtc clock=host,driftfix=slew (which I assume should fix any
drift issue on ACPI compatible guest OSes)
- Host System kernel time drifts against the hwclock (jiffies timer due to
no other available useful timer on SMP systems - core2duo has no hpet!)
- calling "hwclock -s" on the host resyncs the kernel time with the
hwclock, so "date" and "hwclock" show the same again
- the guest stays at the "old" kernel time before the sync - also after 1
hour the delta is still the same, so no sync or slew is done :-(
My guest OS is Windows 8, which must have ACPI enabled, otherwise it will
not work.
Any ideas how to proceed? Maybe some command line parameters are wrong?
I need this resync for the guest due to external synchronization - it must
not be millisecond-precise, but a 9 seconds shift during a run overnight is
too much!
Thanks.
Best regards,
Erik
next reply other threads:[~2014-03-27 8:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-27 8:41 Erik Rull [this message]
2014-03-27 9:43 ` [Qemu-devel] Missing guest clock-sync on Host clock change Laszlo Ersek
2014-03-27 20:14 ` Erik Rull
2014-03-27 20:40 ` Laszlo Ersek
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=5333E41E.2050803@rdsoftware.de \
--to=erik.rull@rdsoftware.de \
--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).