Qemu&Spice USB Redirection with back ported Libvirt 0.9.6 , new seabios 1.6.3 for Ubuntu Oneiric

PPA description

Libvirt 0.9.6 (as of 10/24/11) has been back ported to Oneiric.
New version of seabios - 1.6.3
Consider option downgrade seabios 1.6.3 => 0.6.2-qxl if some things go wrong for you.
It won't affect USB Redirection support

Qemu-kvm 0.15 with usbredir support has been built
per http://planet.spice-space.org/ via Hans de Goede git repository:-

$ git clone git://people.freedesktop.org/~jwrdegoede/qemu
$ cd qemu
$ git checkout -B qemu-kvm-0.15.0-usbredir origin/qemu-kvm-0.15.0-usbredir
$ git log|more

Qemu-kvm debian/rules contains:-

./configure \
      --target-list="x86_64-softmmu i386-softmmu x86_64-linux-user i386-linux-user" \
      --prefix=/usr \
      --interp-prefix=/etc/qemu-binfmt/%M \
      --disable-blobs \
      --disable-strip \
      --enable-spice \
      --enable-usb-redir \

VirtFS support is available.
Spicy should be run by root, view http://planet.spice-space.org/

You may upgrade spice up to 0.10.0 via ppa:bderzhavets/spice-010-oneiric:-
and should be able to run spice server on 32-bit Oneiric.

Spice-Gtk-0.7.66 follows Debian's 0.7-3 packaging schema

To install packages from PPA
$ sudo add-apt-repository ppa:bderzhavets/seabios163
$ sudo apt-get update
$ sudo apt-get install qemu-kvm qemu qemu-common \
  spice-client seabios \
  libusb-1.0-0 libusb-1.0-0-dev \
  libusbredir libusbredir-dev \
  libspice-protocol-dev libspice-server-dev \
  libspice-client-glib-2.0-4 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 \
  gir1.2-spice-client-glib-2.0 \
  gir1.2-spice-client-gtk-2.0 \

$ sudo apt-get install virtinst virt-manager virt-viewer

You might have to disable apparmor profile for libvirtd

$ sudo ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable/
$ sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.libvirtd
$ sudo adduser $USER kvm

Upgrade libvirt up to 0.9.6

sudo apt-get install libvirt-bin libvirt-dev libvirt-doc \
libvirt0 libvirt0-dbg python-libvirt libxen-dev

After libvirt upgrade virsh will support Qemu&Spice USB Redirection.
View http://planet.spice-space.org/

Adding this PPA to your system

You can update your system with unsupported packages from this untrusted PPA by adding ppa:bderzhavets/seabios163 to your system's Software Sources. (Read about installing)

sudo add-apt-repository ppa:bderzhavets/seabios163
sudo apt-get update
Technical details about this PPA

This PPA can be added to your system manually by copying the lines below and adding them to your system's software sources.

deb http://ppa.launchpad.net/bderzhavets/seabios163/ubuntu oneiric main 
deb-src http://ppa.launchpad.net/bderzhavets/seabios163/ubuntu oneiric main 
Signing key:
1024R/5B1808A64B70CB62E45C71865CC1785DC05C1EB5 (What is this?)

For questions and bugs with software in this PPA please contact Boris Derzhavets.

PPA statistics

0 updates added during the past month.
View package details

Overview of published packages

19 of 9 results
Package Version Uploaded by
libusb-1.0 2:1.0.9-4ubuntu9 Boris Derzhavets (2011-10-26)
libvirt 0.9.6~oneiric2u-2ubuntu2 Boris Derzhavets (2011-11-12)
qemu-kvm 081011-11ubuntu17 Boris Derzhavets (2011-10-31)
seabios 1.6.3-2ubuntu4 Boris Derzhavets (2011-10-25)
spice 0.9.1-3ubuntu8 Boris Derzhavets (2011-10-26)
spice-gtk 0.7~66-2ubuntu7 Boris Derzhavets (2011-10-26)
spice-protocol 0.9.0-1ubuntu1 Boris Derzhavets (2011-10-26)
usbredir 0.3.1-1ubuntu5 Boris Derzhavets (2011-10-26)
virt-manager 0.9.0-4ubuntu7 Boris Derzhavets (2011-11-07)
19 of 9 results

Latest updates

  • libvirt 393 weeks ago
    Successfully built
  • virt-manager 393 weeks ago
    Successfully built
  • qemu-kvm 394 weeks ago
    Successfully built
  • spice-gtk 395 weeks ago
    Successfully built
  • usbredir 395 weeks ago
    Successfully built