Set up Qemu-kvm 1.1 & Spice-gtk 0.12 with USB redirection on Ubuntu Precise

$ sudo add-apt-repository ppa:bderzhavets/lib-usbredir81
$ sudo apt-get update
$ sudo apt-get install qemu-kvm qemu qemu-common qemu-utils \
seabios vgabios \
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

Link to PPA  Qemu-kvm 1.1

7 Responses to Set up Qemu-kvm 1.1 & Spice-gtk 0.12 with USB redirection on Ubuntu Precise

  1. Devaux says:

    Great work!
    Works flawlessly with USB-stick. But if I want to redirect my webcam it crashes always my Windows 7_64 guest (driver loads, but on access it crashes)
    Tested with 2 different notebooks (Ubuntu 12.04 32 and 64Bit).

  2. dbaxps says:

    PPA – Set up Spice-gtk 0.12-2 via Debian Unstable on Ubuntu Precise (v.2)

    may work better then my build.

    • Devaux says:

      Same with lib-usbredir87. Tested with Ubuntu 12.04 and Widnows 7 guest.
      The guest crashes and ends with the state “poweroff.”

  3. dbaxps says:

    The last chance is to reproduce bug on Fedora 17 and file bug to bugzilla. RH should be responsable for fix.

  4. pdf says:

    Are you maintaining this stuff in git somewhere?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: