On 03/18/2010 01:50 AM, Thomas Mueller wrote:
hi
following situation:
- 1 physical host, 1x windows 2008 guest = clock ok
- 1 physical host, 2x windows 2008 guest = clock drifts
seen with kvm-0.11 and kvm-0.12.3 and kernel 2.6.32.
not tried the rtc option "driftfix" as man kvm states it only applies to
i386 and i'm running debian amd64.
TARGET_I386 is also true for amd64. However, the code appears broken
upstream.
CONFIG_TARGET_XXX is wrong
Signed-off-by: Zachary Amsden <[email protected]>
diff --git a/vl.c b/vl.c
index 6e35cc6..9720619 100644
--- a/vl.c
+++ b/vl.c
@@ -1565,7 +1565,7 @@ static void configure_rtc(QemuOpts *opts)
exit(1);
}
}
-#ifdef CONFIG_TARGET_I386
+#ifdef TARGET_I386
value = qemu_opt_get(opts, "driftfix");
if (value) {
if (!strcmp(buf, "slew")) {