Re: clock drifts with more than 1 windows 2008 guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <zamsden@xxxxxxxxxx>

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")) {

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux