qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Keyboard/Mouse issues on WinXP loadvm


From: Johannes Schindelin
Subject: Re: [Qemu-devel] Keyboard/Mouse issues on WinXP loadvm
Date: Thu, 30 Mar 2006 09:48:53 +0200 (CEST)

Hi,

On Wed, 29 Mar 2006, Andrew Barr wrote:

> The virtual keyboard and mouse appear to be confused after loadvm'ing on 
> Windows XP SP2 (and 2000 SP4 as well) guest (Qemu CVS on Linux host). The 
> control key appears to be stuck down. While looking for something unrelated 
> in the mailing list archives, I found these:
> 
> http://lists.gnu.org/archive/html/qemu-devel/2005-05/msg00021.html
> http://lists.gnu.org/archive/html/qemu-devel/2005-05/msg00000.html
> 
> It appears to be describing the exact same problem, but on a Linux guest. The 
> suggested solution was to press Ctrl, Shift, Alt one after the other after 
> restoring the VM. This doesn't appear to work on my Windows guest. Is there 
> another way to fix this?

Okay, let's recapitulate: you

- switch to the console by hitting Ctrl+Alt+2
- say savevm bla.vm
- exit

and then

- start qemu with "-loadvm bla.vm"?

Now think a little about what the emulated machine is doing!
The VM gets Ctrl+Alt and up to this point it does not yet know that you 
want to change to the console, so it dutifully reports these keyboard 
down events to the underlying machine. Since you then save the image and 
exit, the saved state still contains that information: the Ctrl and Shift 
keys are pressed.

So, either you did not really try to hit Ctrl and Alt keys, or Windows 
does other strange things. You could try to switch to the console and 
back, to see if qemu is getting the keys.

Hth,
Dscho





reply via email to

[Prev in Thread] Current Thread [Next in Thread]