[fedora-virt] virt-manager with spice support

Avi Alkalay avi at unix.sh
Thu Feb 10 11:52:56 UTC 2011


OK, so docs for the 'qemu -spice' parameters can be found at
http://www.spice-space.org/docs/spice_user_manual.pdf and indeed there is no
'addr=' but 'host='. So apparently libvirt 0.8.7 needs to fix that.

BTW, even if I set the qemu spice server to listen on any address (either
through virt-manager or manually removing the 'listen=' from the XML file),
libvirt 0.8.7 goes and adds an annoying 'addr=0.0.0.0' which makes qemu to
fail to start.

Now I'll try to write a temporary shell wrapper to transform 'addr' into
'host' until libvirt gets fixed.

Regards,
Avi

On Thu, Feb 10, 2011 at 05:15, Avi Alkalay <avi at unix.sh> wrote:

> Thanks Cole. On Fedora, it worked with '--enablerepo=updates-testing' but
> apparently there is a bug on libvirt where it fails to transform a Spice
> configuration entry from the XML file into a correct '-spice' qemu command
> line argument.
>
> On the XML, libvirt/virt-manager generates:
>
> <graphics type='spice' autoport='yes' listen='127.0.0.1'/>
>
> But VM fails to boot with this error:
>
> qemu-kvm: -spice port=5901,addr=127.0.0.1,disable-ticketing: Invalid
> parameter 'addr'
> parse error: port=5901,addr=127.0.0.1,disable-ticketing
>
> So 'addr' is invalid for qemu -spice and the man page doesn't say much
> about it.
>
> Any hint? My software levels:
>
> bash# rpm -qa | egrep -e "virt|qemu|spice" | grep -v virtuoso | sort
> gpxe-roms-qemu-1.0.1-1.fc14.noarch
> kmod-kqemu-1.4.0-0.2.pre1.fc14.23.x86_64
> kmod-kqemu-2.6.35.10-74.fc14.x86_64-1.4.0-0.2.pre1.fc14.23.x86_64
> kqemu-1.4.0-0.5.pre1.fc14.noarch
> libvirt-0.8.7-1.fc14.x86_64
> libvirt-client-0.8.7-1.fc14.x86_64
> libvirt-python-0.8.7-1.fc14.x86_64
> python-virtinst-0.500.5-1.fc14.noarch
> qemu-common-0.13.0-1.fc14.x86_64
> qemu-img-0.13.0-1.fc14.x86_64
> qemu-kvm-0.13.0-1.fc14.x86_64
> qemu-system-x86-0.13.0-1.fc14.x86_64
> qemu-user-0.13.0-1.fc14.x86_64
> spice-client-0.7.2-1.fc14.x86_64
> spice-glib-0.5-1.fc14.x86_64
> spice-gtk-0.5-1.fc14.x86_64
> spice-gtk-python-0.5-1.fc14.x86_64
> spice-gtk-tools-0.5-1.fc14.x86_64
> spice-protocol-0.7.0-2.fc14.noarch
> spice-server-0.7.2-1.fc14.x86_64
> virt-manager-0.8.6-1.fc14.noarch
> virt-top-1.0.4-3.fc13.x86_64
> virt-viewer-0.2.1-1.fc13.x86_64
>
> Thanks in advance,
> Avi
>
> On Tue, Feb 8, 2011 at 12:18, Cole Robinson <crobinso at redhat.com> wrote:
>
>> On 02/05/2011 02:50 PM, Avi Alkalay wrote:
>> > Hello
>> >
>> > I'm trying to install your virt-manager 0.8.6 RPM for F14 with spice
>> support
>> > but yum can't find spice-gtk-python package.
>> > Which repo is it available so I can get it running ?
>> >
>>
>> You can get it from rawhide. So
>>
>> yum --enablerepo=rawhide install spice-gtk-python
>>
>> In the future, please direct questions to virt at lists.fedoraproject.org
>>
>> Thanks,
>> Cole
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/virt/attachments/20110210/e8ed279a/attachment.html 


More information about the virt mailing list