Tuesday, October 18, 2011
Thursday, October 13, 2011
Set up Qemu&Spice USB Redirection support on Ubuntu 11.10 (Oneiric).
***************************************************************************************
UPDATE on 10/14/2011. Oops ! Works on final release Ubuntu 11.10 .
I forgot, that Per Hans de Goede :-
Select the options menu entry and make sure that the “auto redirect newly plugged in USB devices” option is checked. After this make sure the vm has keyboard focus (so close the options menu), plug in a new USB device and watch it show up in your vm
***************************************************************************************
I have been working on it for the most recent two weeks debianizing stuff
from Hans de Goede blog entry at http://planet.spice-space.org/
View PPAs :
ppa:bderzhavets/lib-usbredir15
ppa:bderzhavets/lib-usbredir16
ppa:bderzhavets/lib-usbredir17
ppa:bderzhavets/lib-usbredir18
utilizing daily builds of Oneric.
Install :-
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 \
$(conf_arch)
Spicy should be run by root, view http://planet.spice-space.org/
Spice-Gtk-0.7.6X follows Debian's 0.7-3 packaging schema
*****************************
To install packages from PPA
*****************************
$ sudo add-apt-repository ppa:bderzhavets/lib-usbredir18
$ 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 \
gir1.2-spice-client-gtk-3.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
Shift + Left click to view the picture in details . It's important
USB pen plugged in and redirected to KVM locally :
In this case KVM Server with usb network redirection enabled and Spice-Gtk-0.7.60 are
running on the same instance on Oneiric . But network redirection also works fine . View :-
http://bderzhavets.wordpress.com/2011/10/09/usb-redirection-on-ubuntu-11-10-oneiric/
Qemu&Spice USB redirection does work on final release of Ubuntu 11.10.
Subscribe to:
Posts (Atom)