== Overview ==
[[ http://spice-space.org/download.html | Spice ]] is an alternative to vnc offering high performance graphics and audio ideal for desktop virtualization.
== Spice in qemu on Ubuntu ==
Spice is not in the Ubuntu main repository, while qemu-kvm is. Therefore, qemu-kvm cannot be linked against spice. Instead, the 'qemu-kvm-spice' package is built from the qemu-linaro sources. To use spice, you must run 'kvm-spice', not 'kvm'. Since qemu-linaro is based on qemu.git, which by default chooses tcg (unaccelerated qemu), you must use the '-enable-kvm' flag to get accelerated kvm. An example command line would be:
qemu-kvm-spice -enable-kvm -m 2G -drive file=x.img,if=virtio,cache=none -vga qxl -spice port=5900,disable-ticketing [...]
== Spice in libvirt on Ubuntu ==
To use spice in libvirt, use an .xml such as that at http://people.canonical.com/~serge/spice.xml. If you have a working vnc-based guest defined in libvirt, and want to switch it to use spice, use the emulator line:
{{{
/usr/bin/kvm-spice
}}}
and replace the graphics and videos sections with:
{{{
}}}