Re: windows guest file transfer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/03/2015 05:38 PM, Marc-André Lureau wrote:

root@toolbench64:/etc/libvirt/qemu# virsh start win7
error: Failed to start domain win7
error: internal error: process exited while connecting to monitor:
2015-02-03T21:51:19.176492Z qemu-system-x86_64: -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0:
virtio-serial-bus: A port
already exists at id 1
2015-02-03T21:51:19.176579Z qemu-system-x86_64: -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0:
Device 'virtserialport'
could not be initialized

Ideas how to work around?


That's weird, looks like a libvirt bug perhaps? Could you provide your libvirt domain XML? What is your host os, libvirt & qemu version?


 qemu                                            1:2.1+dfsg-11                amd64  debian testing
$ sudo /usr/sbin/libvirtd  --version
/usr/sbin/libvirtd (libvirt) 1.2.9
$ /usr/local/bin/virt-viewer --version
virt-viewer version 2.00

I did not run qemu or qemu-kvm, just virsh edit win7, virsh start win7.
Removing these lines lets this run the windows guest again:

<channel type='spiceport'>
      <source channel='org.spice-space.webdav.0'/>
      <target type='virtio' name='org.spice-space.webdav.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>


Hmmm..... since adding the six lines surrounded by <devices>
and
</devices> tags,

the xml domain file has morphed to having the above 5 lines...

the address line is inserted by virsh edit every time...

I experimented some and found that changing the autogenerated line let it start win7:
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
became
      <address type='virtio-serial' controller='0' bus='0' port='0'/>

So, next I will test if webdav is enabling file transfers.

Thanks,

John Griessen
=====================xml domain file============================
http://pastebin.com/shhvD5b1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]