Qemu-kvm 0.15.0 stable and Spice-Gtk-0.7 on Ubuntu 11.10

August 15, 2011

All packages required are already in PPA “Qemu-kvm 0.15.0 and Spice on Ubuntu 11.10″. Spice-gtk-0.7 has been done for Oneiric as two builds. First one with python, gobject-introspection enabled and –with-gtk=”2.0″(GTK2). Second one –with-introspection and –with-gtk=”3.0″ (GTK3).This builds actually are the core builds in PPA, which bring RH’s technologies to Ubuntu 11.10. Notice, that option –with-audio=”pulse” is also used by both builds and appears to be working fine. Version of Spice Server has been
also upgraded to 0.8.2.
Following bellow is brief description of PPA Qemu-kvm 0.15.0 and Spice on Ubuntu 11.10.
************************************************************************************************************
UPDATE on 08/18/11 I am aware of following builds made at Debian :-
Details about package spice-gtk
Packaging schema at link mentioned above is exactly the same as in spice-gtk-0.7.1-1.fc16.src.rpm
View Rebuild Spice-Gtk-0.7 via Debian Unstable with gobject-introspection enabled
*************************************************************************************************************

1.The most recent qemu-kvm packages were done via “git clone git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git” are Release 0.15.0 as of 08/10/2011.
$ git clone git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git
$ cd qemu-kvm
$ git checkout -b stable-0.15 origin/stable-0.15
$ cd ..
Copy to building directory :
$ cp -R qemu-kvm ../BUILD/qemu-kvm-mmddyy
Stable branch is already patched to fix “QXL” issues and to support spicevmc channel

2. Spice-gtk-0.7 has been done for Oneiric as two builds.

GTK2 build performed with
./configure --prefix=/usr --build=x86_64-linux-gnu \
--mandir=/usr/share/man --infodir=/usr/share/info \
--datadir=/usr/share \
--sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/bin \
--with-python --disable-static \
--enable-introspection \
--enable-smartcard=no \
--with-gtk="2.0" --with-audio="pulse"

GTK3 build performed with
./configure --prefix=/usr --build=x86_64-linux-gnu \
--mandir=/usr/share/man --infodir=/usr/share/info \
--datadir=/usr/share \
--sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/bin \
--disable-static \
--enable-introspection \
--with-gtk="3.0" --enable-smartcard=no --with-audio="pulse"

libspice-protocol-dev 0.8.1-1 is required by both builds

3.Current version of spice-vdagent for Oneiric as KVM guest installs service and *.desktop (file) automatically and requires guest restart for activation or manual gdm restart and starting service.

***********************************************************************
UPDATE on 08/16/11. Please, view https://wiki.ubuntu.com/spice ,
regarding issues raised up on 08/16/11. You might have to import
PUBLIC KEY separately to install PPA.

Would you have problem with adding my PPAs , like this :-
Executing: gpg –ignore-time-conflict –no-options –no-default-keyring –secret-keyring /tmp/tmp.CuZyZy4MSK
–trustdb-name /etc/apt/trustdb.gpg –keyring /etc/apt/trusted.gpg –primary-keyring /etc/apt/trusted.gpg –keyserver hkp://keyserver.ubuntu.com:80/ –recv 5
gpg: “5″ not a key ID: skipping
Run “sudo apt-get update” . It will show you value of PUBLIC KEY to be imported . Then run :
$ sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys
$ sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys \
XXXXXXXXXXXXXXX

Where XXXXXXXXXXXXXX is a value been shown by “apt-get update” on your box
$ sudo apt-get update
***********************************************************************
Install software from PPA :-
************************************************************************
$ sudo apt-add-repository ppa:bderzhavets/qemu-git
$ sudo apt-get update
$ sudo apt-get install qemu-kvm qemu qemu-common \
libspice-client libspice-client-dev \
libspicegtk3-client libspicegtk3-client-dev \
spice libspice-protocol-dev spicegtk3-client

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

Disable libvirtd’s apparmor profile :

$ 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
$ sudo reboot

The most recent daily builds of Ubuntu 11.10 don’t contain Synaptic Manager. To install
$ sudo apt-get install synaptic


Follow

Get every new post delivered to your Inbox.

Join 25 other followers