Skip to contentSkip to conversation

clock drifts with more than 1 windows 2008 guest

DISCUSSION Thomas Mueller 4 participants 7 messages Mar 18, 2010 – Mar 24, 2010 KVM

lore
Share & tools
lore
#0 lore raw

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.

- Thomas

#1 lore raw
Quoted 12 lines · Thomas Mueller

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.

Try it then. man kvm includes amd64 into i386.

--
Gleb.

#2 lore raw
Quoted 7 lines · Gleb Natapov
Quoted 6 lines · Thomas Mueller

hi

following situation:
- 1 physical host, 1x windows 2008 guest = clock ok
- 1 physical host, 2x windows 2008 guest = clock drifts

Quoted 9 lines
Quoted 6 lines

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.

Try it then. man kvm includes amd64 into i386.

Almost forgot. driftfix does not work for win2k8 64 bit smp guest currently.

--
Gleb.

#3 lore raw

Am Thu, 18 Mar 2010 14:08:17 +0200 schrieb Gleb Natapov:

Quoted 14 lines · Gleb Natapov
Quoted 13 lines · Thomas Mueller
Quoted 12 lines

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.

Quoted 5 lines
Quoted 3 lines

Try it then. man kvm includes amd64 into i386.

Almost forgot. driftfix does not work for win2k8 64 bit smp guest currently.

forgot to tell that these are win2008 64bit guest systems (actually Windows 2008 Small Business Server "Premium").

hoping then for a working 64bit driftfix option. :)

thanks
- Thomas

#4 lore raw
Quoted 24 lines · Thomas Mueller

Am Thu, 18 Mar 2010 14:08:17 +0200 schrieb Gleb Natapov:

Quoted 21 lines · Gleb Natapov
Quoted 20 lines · Thomas Mueller
Quoted 14 lines

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.

Try it then. man kvm includes amd64 into i386.

Quoted 9 lines
Quoted 3 lines

Almost forgot. driftfix does not work for win2k8 64 bit smp guest currently.

forgot to tell that these are win2008 64bit guest systems (actually Windows 2008 Small Business Server "Premium").

hoping then for a working 64bit driftfix option. :)

It will work for uniprocessor guests, just not for smp guests.

Signature · 1 line
error compiling committee.c: too many arguments to function
#5 lore raw
In reply to Thomas Mueller
Quoted 11 lines · Thomas Mueller

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

vl.c +1 -1
index 6e35cc6..9720619 100644
@@ -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")) {
#6 lore raw
Quoted 7 lines · Zachary Amsden
Quoted 6 lines · Thomas Mueller

hi

following situation:
- 1 physical host, 1x windows 2008 guest = clock ok
- 1 physical host, 2x windows 2008 guest = clock drifts

Quoted 8 lines
Quoted 4 lines

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.

Please post this on qemu-devel.

Signature · 1 line
Do not meddle in the internals of kernels, for they are subtle and quick to panic.