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

Experimental SPICE Repository now Available to Fedora Users

Experimental packages for SPICE client and SPICE qemu server are now available through a new repository setup for Fedora users. The SPICE packages have been renamed for the SPICE qemu server so that it doesn’t conflict with the stable Fedora qemu packages. The new spice repository provides packages for Fedora 12, Fedora 13 and rawhide versions.

To use this new repository add the file ‘unstable-spice.repo’ to your /etc/yum.repos.d directory with the following contents.

[spice-unstable]
name=spice development bits for fedora $releasever
baseurl=http://kraxel.fedorapeople.org/spice/fedora$releasever
enabled=1
gpgcheck=0

Once you’ve added the repository you can install the spice client and server with the following command. If you already have spice packages installed from the other repository described in this post, then you need to unstall those packages first or the packages will conflict and installation will fail.

yum install spice-unstable-client qemu-spice-unstable

The announcement on the mailing list also provided some documentation on getting started. You can read the documentation at the following link.

http://kraxel.fedorapeople.org/spice/README
 

See Also

Comments

qemu-spice only for x86_64 platform ?

I think this repository has only qemu spice server compiled for x86_64.
Is is possible to run on i686 ?

Re: qemu-spice only for x86_64 platform ?

Paul,

The repositories also include packages for i686. See the following web link for the packages.

http://kraxel.fedorapeople.org/spice

For reference the original announcement can be found at the following link.

http://lists.nongnu.org/archive/html/qemu-devel/2010-05/msg00448.html

Re: qemu-spice only for x86_64 platform ?

Hello Haydn,

I tried to install qemu-spice on my Fedora13rc i686 (and Fedora12 i686) before I asked the question, but there is no "qemu-spice-unstable" for i686 in the repo.
I was able to install the spice client, but this does not help. I also need the qemu-spice which is not available.
If you look in the i686 repositories, you'll see that qemu-spice-unstable-git.20100507 package is missing from both F12 and F13 for i686.

Thx.

Re: qemu-spice for i686

Paul,

I'm sorry. You are quite correct. The repository does *NOT* provide a qemu-spice package for i686 for any of the Fedora versions. I think this is because more development effort is on 64-bit which is required for hardware virtualization.

Re: qemu-spice only for x86_64 platform ?

Hi Paul,

The official answer is NO, pls check the last faq on www.spice-space.org, http://www.spice-space.org/faq.html. The client can be built for a 32-bit machine.

The documents are out of date

Hi Haydn,

Now as I found all the published docs are based on version 0.4 of spice, some options are not available now on kraxel's repo, maybe you need to update the info here.
1. "-qxl 1" is not working, the new one is "-vga qxl"
2. The 0.4 version of qxl driver is not working, here is the working one, http://www.spice-space.org/download/unstable/qxldriverunstable.zip. Not this one, http://spice-space.org/download/qxl_unstable.zip, the working files are made on 2010-04-28.
3. New multihead video option is "-device qxl". More tests needed, it is not working on my test pc till now.
4. Device vdi_port needs to be enabled manually, option is "-device vdi_port". It will be replaced by a virtio-serial based solution, none of them is enabled by default. For new one option is "-device virtio-serial -device spicevmc". The 0.4 version of vdi_port is working, and I did not find driver for new device.
5. 0.4 version of vdagent is working still.
6. 0.4 version of spice client may be not working, but not fully tested. I update the linux version of spicec to kraxel's unstable version, it is working, but I did not test 0.4 on linux. For 0.4 version of Windows spicec, cannot connect to server, tested with right address and port there will be soicec window for a while to connect then close, with wrong address or port spicec windows will show then close at once, so I think it should be incompatible with new server version. I did not find the new Windows version of spicec.
7. The last one is not new version of spice related, but I think it is important. Virtio block device is not working on spice server, virtio network device is ok. It is because of spice is based on a version of qemu, not qemu-kvm, so later features of qemy-kvm is not supported now. I think it should be ok when spice is merged to upstream of qemu.

All infos are from spice devel mail list, pls search details here, http://lists.freedesktop.org/archives/spice-devel/, or http://www.mail-archive.com/spice-devel@lists.freedesktop.org/info.html.

Thanks for your blog very much, it helps me so much.

Vii

Re: The documents are out of date

Virgona,

Thanks for your detailed update on the current status of SPICE and the URLs. I actually do follow the mailing list you mentioned but didn't bother to post these updates since the spice development is in flux right now.  I prefer to provide information on working solutions and leave discussions on development and solutions to the comments section and forum area the way you did. 

Good to hear the blog has been helpful to you.

Haydn

Re: The documents are out of date

Hi Haydn,

It is good to keep the working solution here only.

More details about virtio network:
- Version 2008-12-29 does not work well, the network or whole vm will be frozen. The device name is "Qumranet ParaVirtualized Ethernet adapter".
- Version 2009-09-24 wokrs very well. The device name is "Red Hat Virtio Ethernet adapter".

Best Rgds,
Vii

Re: documents out of date

Virgona,

Thanks for the update. I'm working on building an updated version of virtio network drivers. Where did you get the 2009-09-24 network drviers? From red hat subscription?

,

Hi Haydn, Thanks for your

Hi Haydn,

Thanks for your SPICE Repository.

All these work well in windows xp guest.But I find that qemu-spice-unstable from your repository can't work with xorg-x11-drv-qxl-0.0.12 from
fedora repository in fedora12/13 guest.

when I start a Xserver in fedora guest, it would use the vesa driver.
If I tell the Xserver use qxl driver in xorg.conf, it said "No devices detected"

Is there any way to resolve this?

ps:0.4 version works well.

Post new comment

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.