Example using SPICE and QXL for improved Graphics experience in the guest
This example is based on qemu-kvm (0.15.0) as installed in Fedora 15. Will first show how to do this manually, and second how to do it using the virt-manager tool.
For extensive details on SPICE, visit http://spice-space.org
[
edit]
Manually, using qemu-kvm command line directly
The simplest part is adding the qxl graphics device to the guest. By adding <cdoe>-vga qxl</code>:
# /usr/bin/qemu-kvm -m 1024 -name f15 -drive file=/images/f15.img,if=virtio -vga qxl
You'll see a normal SDL window pop up, and if you poke inside the guest you'll find that X is using the qxl device to display:
$ lspci
...
00:02.0 VGA compatible controller: Red Hat, Inc. Device 0100 (rev 03)
$ grep QXL /var/log/Xorg.0.log
[ 15.878] (II