Hi Leonard,

Can you try the attached patch and tell me what's going on?
Sorry for the delay response, I was a little busy.

The patch zero's the svm interrupt vector after vmexit, right after we
checked for pending irq's that were not injected.
Although the IRQ_MASK is zerod I suspect it might get injected again.

Dor.


>-----Original Message-----
>From: Leonard Norrgard [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, February 06, 2007 10:19 AM
>To: Dor Laor
>Cc: [email protected]
>Subject: Re: [kvm-devel] frequent guest lockup (and mouse/keyboard
>problems)
>
>Dor Laor wrote:
>> Finally I manage to reproduce the problem. I did manage to play the
>> puzzle without problems, but I discovered that under load there are
>> problems with the mouse.
>> I didn't have any problems with 100% cpu consumption (Operton cpu).
>>
>I'll try to find a good way to reproduce the 100% cpu problem. I have a
>feeling it may be network related (could be a qemu 0.8.2 bug, even).
>> I believe the mouse problems are caused by using the relative mouse
>> coordinates. So when the host is loaded there is latency between the
>> host reading and the guest irq injection.
>>
>Perhaps, but his wouldn't explain why the mouse buttons are randomly
>clicked. It seems that this often happens at the very same time as the
>pointer jumps somewhere.
>> Can you try using usbtablet mouse? (Note that you'll need to install
>> evtoucher driver).
>>
>No trouble at all with -usbdevice tablet (Btw, new debian supporting
>package coming up to enable this for linux guests, did the basic work
on
>it in order to do this test), except that the pointer doesn't move
>smoothly when the guest is run in kvm. Using qemu 0.9.0 + kqemu (GPL:d
>now!), the pointer moves very smoothly with -usbdevice tablet - it's in
>fact difficult to distinguish from native. (There are also no mouse
>problems when running the guest with kvm -no-kvm).
>
>The keyboard problems are very easy to reproduce here. Just open a text
>editor in the guest and try to edit something. Move around in the text,
>make edits. A key will get stuck very quickly, causing auto-repeat.
>
>In fact, keys get stuck so often in the guest, that I've installed the
>Debian KDE package named kbstate. After installation, right click on
the
>bottom panel and select "Add applet to panel...", then add the applet
>named "Keyboard Status Applet". This gives a visual indicator as to
>which key is stuck right now.

Attachment: irq.svm.patch
Description: irq.svm.patch

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to