KVM - The Linux Kernel-Based Virtual Machine
News, Blogs and Resources on the Linux (KVM) Kernel-Based Virtual Machine

Red Hat SPICE protocol for Virtual Desktops now open source

Yesterday Red Hat open sourced it’s SPICE virtual desktop protocol. Red Hat inhertied SPICE with the acquisition of qumranet, the then maintainers of KVM, about a year ago in September 2008. SPICE is described as a core component of the Red Hat Enterprise Virtualization for Desktops product that is currently in beta. Red Hat has setup a website dedicated to the development around this product that you can find at www.spice-space.org . Most of the SPICE sources are released under GPLv2 with some exceptions which use LGPL or BSD style licenses. There are also plans on providing Windows binaries but nothing has been done on that front yet.

 

Current Releases

The website provides some early releases of SPICE currently at version 0.4.0. The packages can be downloaded at the spice website at this location. There are also some Fedora 12 packages availabe at a yum repository dedicated to SPICE. To use this repository use the following commands as described at the website.

To set up spice.repo execute the following commands:

sudo wget -P /etc/yum.repos.d/ http://spice-space.org/download/spice.repo
sudo rpm --import http://spice-space.org/download/RPM-GPG-KEY-spice-fedora-12-x86_64

To install packages do

sudo yum install spice-client
sudo yum install qemu-spice

One thing you should note is that SPICE is not supported on 32-bit platform. It looks like just the client side can be built on a 32-bit platform. The FAQ page on the webiste mentions this.

 

Integration with Virt-Manager

There has already been some discussion about SPICE integration with virt-manager, Red Hat’s Desktop Virtual machine manager used with it’s Fedora distribution. Currently there’s no integration with virt-manager due to the client code currently being a standalone client app. I image that this will be something the community will want access to and there’s nothing to stop the community from working towards this now that it’s been open sourced. From discussions on the mailing list, developers describe the work required for this as basically making a proper library, ideally providing a GTK widget for embedding. In addition to this there’s work required to get SPICE integrated on the back end with upstream qemu codebase. 

 

Additional Resources

 

See Also

Comments

SPICE Open Source

Yeesss!! Wicked as hell! It got Open sourced! YESSS!

RDP

One thing the FAQ didn't say is why SPICE as opposed to RDP?

Re: RDP

I've only had a brief overview of SPICE but as far as I understand, SPICE works on a lower level, which means that you'll actually get a new PCI device in the guest, allowing for hardware acceleration, etc. if the correct drivers are installed in Windows/Xorg. According to the newbies manual, it is compatible to SVGA, meaning that you'll actually be able to connect already at the boot stage of the virtual machine, making it possible to debug issues causing the machine not to start.

If you look at the open source RDP implementation "rdesktop", it's still stuck at RDP v5.0...we're at v7.0 now with Windows 7 / Server 2008r2. At least on my systems, connecting to a Windows 7 virtual machine from Linux, lags enough to be annoying.

RDP is a closed source Microsoft protocol for Windows systems, SPICE should not be limited to Windows.

Post new comment

The content of this field is kept private and will not be shown publicly.