Set up qemu-kvm-1.0+noroms as spice enabled qemu server vs qemu-kvm-spice on Ubuntu Precise

May 22, 2012

This post follows up Bug #998435 qemu-kvm-spice doesn’t support spice/qxl installs

Build bellow is based on upstream (vs linaro) version of qemu-kvm 1.0 on Ubuntu Precise. View bug description above regarding details of qemu-kvm-spice misbehavior.

$ sudo add-apt-repository ppa:bderzhavets/lib-usbredir80
$ sudo apt-get update
$ sudo apt-get install qemu-kvm qemu qemu-common qemu-utils \
spice-client libusb-1.0-0 libusb-1.0-0-dev \
libusbredir libusbredir-dev usbredir-server \
libspice-protocol-dev libspice-server-dev \
libspice-client-glib-2.0-1 libspice-client-glib-2.0-dev \
libspice-client-gtk-2.0-1 libspice-client-gtk-2.0-dev \
libspice-client-gtk-3.0-1 libspice-client-gtk-3.0-dev \
python-spice-client-gtk spice-client-gtk

$ sudo apt-get install virtinst virt-manager virt-viewer
$ sudo ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable/

$ sudo adduser $USER libvirtd
REBOOT

*************************************************************************************
Link to PPA Set up qemu-kvm-1.0+noroms as spice enabled qemu server
*************************************************************************************

Set up qemu-kvm-1.0+noroms as spice enabled qemu server & Spice 0.10.1 with Visio patches for Windows
*************************************************************************************
Link to PPA Set up qemu-kvm-1.0+noroms as spice enabled qemu server & Spice 0.10.1 with Visio patches for Windows
*************************************************************************************


Set up Spice-Gtk 0.12 with USB redirection on Ubuntu Precise

May 2, 2012

Qemu-kvm 1.0 has been built based on branch
http://cgit.freedesktop.org/~jwrdegoede/qemu/log/?h=qemu-kvm-1.0-usbredir
as of 04/29/2012. It contains all required usb redirection patches on
top of QEMU-KVM 1.0 release

$ git clone git://people.freedesktop.org/~jwrdegoede/qemu
$ cd qemu
$ git checkout -B qemu-kvm-1.0-usbredir origin/qemu-kvm-1.0-usbredir
$ cd ..
$ cp -R qemu qemu-kvm-1.0-usbredir043012

libcap-dev added to debian/control for virtfs support.

Build requires spice and spice-protocol 0.10.1 and the most recent usbredir 0.4.3
as of 04/02/2012.

$ sudo add-apt-repository ppa:bderzhavets/lib-usbredir75
$ sudo apt-get update
$ sudo apt-get install qemu-kvm qemu qemu-common qemu-utils \
spice-client libusb-1.0-0 libusb-1.0-0-dev \
libusbredir libusbredir-dev usbredir-server \
libspice-protocol-dev libspice-server-dev \
libspice-client-glib-2.0-1 libspice-client-glib-2.0-dev \
libspice-client-gtk-2.0-1 libspice-client-gtk-2.0-dev \
libspice-client-gtk-3.0-1 libspice-client-gtk-3.0-dev \
python-spice-client-gtk spice-client-gtk

$ sudo apt-get install virtinst virt-manager virt-viewer
$ sudo ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable/

$ sudo adduser $USER libvirtd
REBOOT

*************************************************************************
Link to PPA Set up Spice-Gtk 0.12 on Ubuntu Precise (v.3)
*************************************************************************


Follow

Get every new post delivered to your Inbox.