public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Walrond <andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org>
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Missing mouse clicks running windows XP
Date: Sun, 22 Apr 2007 12:21:40 +0100	[thread overview]
Message-ID: <200704221221.40543.andrew@walrond.org> (raw)
In-Reply-To: <462B3811.80202-atKUWr5tajBWk0Htik3J/w@public.gmane.org>

On Sunday 22 April 2007 11:25:21 Avi Kivity wrote:
> Andrew Walrond wrote:
> > On all kvm versions I have tried (16 - 19) running windows XP, with the
> > XP window having captured the mouse, I have to make my mouse clicks slow
> > and deliberate else XP does notice them. It makes double clicks
> > especially hard.
> >
> > I am running Kubuntu Feisty 64bit on a core 2 duo dell laptop, and the
> > external kvm modules.
> >
> > Hope that's useful. Let me  know if I can provide further information.
>
> What's your host cpu type?

vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
stepping        : 6

The cpu frequency control is set to Dynamic, and both cores seems to run at 
half speed (1GHz) most of the time, incase that makes a difference.

>
> Are you running as root or as a regular user?

As root. Here is the little script I use to start VMs:

	#!/bin/sh

	sudo modprobe kvm-intel
	sudo bash -c 'echo 1024 > /proc/sys/dev/rtc/max-user-freq'
	sudo qemu-system-x86_64 -m 512 -daemonize -hda $1

>
> Does time flow normally in the guest (watch the Windows clock)
>

After a couple of hours uptime, the kubuntu/XP clocks match exactly. (Well, 
exactly 1 hour out, but I guess thats because I'm on BST which is being 
propagated to the VM as the hardware clock time; A minor issue for another 
day)

> What's the kernel version?  What's CONFIG_HZ set to?

Latest Feisty kernel but using kvm-19 modules
No idea about CONFIG_HZ. The Kubuntu kernel doesn't seem to expose the .config 
in /proc. Any other way I can find out?

$ uname -a
Linux andrew-xps 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 x86_64 
GNU/Linux


>
> If you run the guest with 'taskset 1', does the problem go away? (e.g.
> taskset 1 qemu ...)
>

Modified my script above to do 

	sudo taskset 1 qemu-system-x86_64 -m 512 -daemonize -hda $1

but no improvement I'm afraid

> If you run with -no-kvm, does the problem go away?

No, still there.


> Anything in dmesg?

Ah... A load of these

[ 3949.793179] rtc: lost some interrupts at 1024Hz.
[ 3949.813162] rtc: lost some interrupts at 1024Hz.
[ 3949.833150] rtc: lost some interrupts at 1024Hz.
[ 3949.853139] rtc: lost some interrupts at 1024Hz.
[ 3949.873130] rtc: lost some interrupts at 1024Hz.
[ 3949.893117] rtc: lost some interrupts at 1024Hz.
[ 3949.913108] rtc: lost some interrupts at 1024Hz.


Which I guess might just be the problem?

I only added the
  sudo bash -c 'echo 1024 > /proc/sys/dev/rtc/max-user-freq'
line to my script because qemu-system-x86_64 told me to. Should I try removing 
it?


Andrew Walrond

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

  parent reply	other threads:[~2007-04-22 11:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-22 10:10 Missing mouse clicks running windows XP Andrew Walrond
     [not found] ` <200704221110.33294.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org>
2007-04-22 10:25   ` Avi Kivity
     [not found]     ` <462B3811.80202-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-22 11:21       ` Andrew Walrond [this message]
     [not found]         ` <200704221221.40543.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org>
2007-04-22 13:46           ` Avi Kivity
2007-04-22 15:12           ` Jon
2007-04-22 11:37       ` Andrew Walrond
2007-04-22 11:46       ` Andrew Walrond
2007-04-22 10:37   ` Carsten Emde
     [not found]     ` <462B3AFF.9050701-Q945KHDl0DbYtjvyW6yDsg@public.gmane.org>
2007-04-22 10:40       ` Avi Kivity
     [not found]         ` <462B3BA0.8060703-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-22 10:56           ` Andrew Walrond
     [not found]             ` <200704221156.04846.andrew-2/QedQ4M3FBAfugRpC6u6w@public.gmane.org>
2007-04-22 12:05               ` Carsten Emde

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=200704221221.40543.andrew@walrond.org \
    --to=andrew-2/qedq4m3fbafugrpc6u6w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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