Qemu-kvm 1.0 & Spice-protocol 0.10.1 & Spice-Gtk 0.8 USB Redirection on Ubuntu Precise

In other words posting may be named “Set up Spice-Gtk 0.8 on Ubuntu Precise”. Short list of the changes per [1] :

– add USB redirection support, see Hans comments in the log and that
post for details: http://hansdegoede.livejournal.com/11084.html
– introduce SpiceGtkSession to deal with session-wide Gtk events, such
as clipboard, instead of doing it per display
– many cursor and keyboard handling improvements
– handle the new “semi-seamless” migration
– support new Spice mini-headers
– better coroutines: fibers on windows & jmp on linux
– add Vala vapi bindings generation
– many bug fixes and code improvements

Build requires spice-protocol 0.10.1 and the most recent usbredir 0.3.3
******************************************************************************************
Link to PPA Set up Spice-Gtk 0.8 on Ubuntu Precise (v.2)
View also PPA Set up Spice-Gtk 0.8 on Ubuntu Precise (v.3)
******************************************************************************************
$ sudo add-apt-repository ppa:bderzhavets/lib-usbredir61
$ 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-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

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

To start default network :-

sudo virsh net-start default
sudo virsh net-autostart default

Works with QEMU-KVM 1.0 with no special patch





References
1.1.http://www.mail-archive.com/spice-devel@lists.freedesktop.org/msg06659.html

4 Responses to Qemu-kvm 1.0 & Spice-protocol 0.10.1 & Spice-Gtk 0.8 USB Redirection on Ubuntu Precise

  1. […] Qemu-kvm 1.0Spice custom 0.10.1Spice-Gtk 0.8. You can follow any responses to this entrance by a RSS 2.0 feed. You can leave a response, or trackback from your possess […]

  2. Wall Cavity Insulation Grants…

    […]Qemu-kvm 1.0 & Spice-protocol 0.10.1 & Spice-Gtk 0.8 USB Redirection on Ubuntu Precise « Xen Virtualization on Linux and Solaris[…]…

  3. Hi, I do think this is a great blog. I stumbledupon it 😉 I may revisit once again since i have bookmarked it.
    Money and freedom is the best way to change, may you be rich and continue to help other people.

Leave a comment