From Fedora Project Wiki

Description

This test case will verify the absolute mouse pointer support (see improved graphics console) added in Fedora 11.


How to test

  1. Start a graphical install using virt-manager or the command-line utility, virt-install.
Specify OS type and version
When creating your virtual machine, be sure to specify an operating system type and version. This can be selected from virt-manager or by using a virt-install command similar to:
# virt-install -n f11 -r 1024 -f /var/lib/xen/images/f11.img -s 4 \
 -v --accelerate --vnc --os-type linux --os-variant fedora11 \
 -l http://mirrors.kernel.org/fedora/development/x86_64/os/
  1. Respond to the installer questions (keyboard, language, installation source) and proceed to the graphical install screen
  2. Move the mouse in and out of the virtual machine window. The mouse should freely move in and out of the window
  3. Repeat the previous step, while clicking the mouse inside and outside the virtual machine window.
  4. Close the virtual machine window, and run:
    virt-viewer <name-of-guest>
  5. Once again, move the mouse in and out of the virtual machine window. The mouse should freely move in and out of the window
  6. Repeat the previous step, while also clicking inside and outside the virt-viewer window.
  7. Review the Xorg log file and confirm that the mouse device shows up as "QEMU USB Tablet". You should see a message similar to the following in your Xorg log file:
    (II) XINPUT: Adding extended input device "QEMU 0.10.1 QEMU USB Tablet" (type: MOUSE) 
    • During install, the Xorg log file is /tmp/X.log
    • On an installed system, the Xorg log file is typically /var/log/Xorg.0.log.
  8. Proceed through the installation, selecting any options needed for your setup.
  9. When the installation has completed, click Reboot.

Expected Results

  1. The mouse inside the virt-manager, and virt-viewer, window should not lag behind or be offset from the host mouse
  2. The mouse should not remain sticky to the application, it should freely move in and out of the application windows
  3. The mouse is identified as QEMU USB Tablet