[Spice-devel] test shared folder error: spiceport not supported in this QEMU binary

Cody Chan int64ago at gmail.com
Fri Apr 4 11:14:59 PDT 2014


Hi,


On Sat, Apr 5, 2014 at 12:23 AM, Marc-André Lureau <mlureau at redhat.com> wrote:
>
>
> ----- Original Message -----
>> sorry, I come for help again ==
>>
>> fedora 19 x64
>> qemu from upstrem(2.0.0-rc1)
>> libvirt 1.2.3
>> spice-server 0.12.4
>
> You'll also need spice-server from upstream git.
Yes, I rebuilt again from upstream
>> spice-protocol 0.12.6
>>
>> According to http://elmarco.fedorapeople.org/manual.html#_configuration_7,
>> I configured xml with the following section:
>> <channel type='spiceport'>
>>         <source channel='org.spice-space.webdav.0'/>
>>         <target type='virtio' name='org.spice-space.webdav.0'/>
>> </channel>
>>
>> but when I run: virsh start vm_win7, I get a error:
>> error: Failed to start domain vm_win7
>> error: unsupported configuration: spiceport not supported in this QEMU binary
>
> Are you sure libvirt is running qemu from upstream? What does qemu-kvm --version gives you?
I'm sure, but after rebuilding, the qemu-system-x86_64(link of
qemu-kvm?) --version is 1.7.91! Is it normal?
qemu with version 2.0.0 generates qemu-system-x86_64 with version 1.7.91?

>> so, I use qemu-kvm instead of libvirt with the parameters told by
>> _configuration_7:
>> qemu-kvm -m 1024 -drive file=/var/lib/libvirt/images/vm_win7.img
>> -device virtserialport,bus=virtio-
>> serial0.0,nr=1,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0
>> -chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1
>>
>> still, get a error:
>> qemu-system-x86_64: -device
>> virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0:
>> Bus 'virtio-serial0.0' not found
>>
>
> Hmm, you could try without specifying the bus, or adding this device:
>
> -device virtio-serial-pci,id=virtio-serial0
>
>> if I remove the configure section in xml of libvirt, it works fine, so
>> does qemu-kvm
>>
>> now, any one gives me some idea to continue?
>> _______________________________________________
>> Spice-devel mailing list
>> Spice-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>>


More information about the Spice-devel mailing list