Re: windows guest file transfer -- am I using the correct howto?

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

 



On 02/04/2015 11:14 AM, Marc-André Lureau wrote:
Hi

----- Original Message -----
On 02/04/2015 10:07 AM, John Griessen wrote:
So, next I will test if webdav is enabling file transfers.

Still cannot get the webdav installer to completion:
Windows 7 error message:
Service 'Spice webdav proxy' (spice-webdavd) failed to start.
Verify that you have sufficient privileges.

Can you provide your qemu command line when the guest is started by libvirt? (virsh start, ps aux | grep vmname)


root@toolbench64:/home/john# virsh list --all
 Id    Name                           State
----------------------------------------------------
 -     win7                           shut off

root@toolbench64:/home/john# virsh start win7
Domain win7 started

root@toolbench64:/home/john# virsh list
 Id    Name                           State
----------------------------------------------------
 11    win7                           running


root@toolbench64:/home/john# ps aux | grep win7
libvirt+ 22254 102 2.1 1892036 87236 ? Rl 13:39 0:18 qemu-system-x86_64 -enable-kvm -name win7 -S -machine pc-i440fx-2.1,accel=kvm,usb=off -cpu Opteron_G2 -m 1200 -realtime mlock=off -smp 1,maxcpus=2,sockets=2,cores=1,threads=1 -uuid 0fcfa03d-2e13-4478-95f6-2ebf256903bc -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/win7.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 -drive file=/var/lib/libvirt/images/win7.qcow2,if=none,id=drive-ide0-1-0,format=qcow2 -device ide-hd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 -drive file=/home/john/qemu-drivers/spice-guest-tools-0.74.iso,if=none,id=drive-ide0-1-1,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=1,drive=drive-ide0-1-1,id=ide0-1-1 -netdev tap,fd=24,id=hostnet0,vhost=on,vhostfd=25 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:c5:b4:4e,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spiceport,id=charchannel0,name=org.spice-space.webdav.0 -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.spice-space.webdav.0 -device usb-tablet,id=input0 -spice port=5900,addr=127.0.0.1,disable-ticketing,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pci.0,addr=0x2 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,chardev=charredir0,id=redir0 -chardev spicevmc,id=charredir1,name=usbredir -device usb-redir,chardev=charredir1,id=redir1 -chardev spicevmc,id=charredir2,name=usbredir -device usb-redir,chardev=charredir2,id=redir2 -chardev spicevmc,id=charredir3,name=usbredir -device usb-redir,chardev=charredir3,id=redir3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
root     22343  0.0  0.0  12716  2100 pts/5    S+   13:39   0:00 grep win7



There are really very few reason the service wouldn't start, my best guess is that the virtio channel is not visible in the guest.

Is the spice vdagent working?

Could you also try with a Linux guest, at least it's easy to enumerate the channels, you can ls /dev/virtio-ports.

I don't have one set up.  That could take a while...

I double clicked this program in win7:

As admin?

No.  So, I learned to enable admin account, logged into it, and redid the install with same result.

Am I using the correct howto for file sharing or transfer?

There are nothing else, in theory, that's all you need. But the shared folder feature isn't widely used yet.


folder sharing with virt-manager." You can add a webdav channel now:
https://elmarco.fedorapeople.org/Screenshot%20from%202015-02-04%2017:59:31.png

I'll try with virt-manager.  I'll try getting the file  http://elmarco.fedorapeople.org/spice-webdavd-x86-0.1.24.msi
via web browser from within the win7 VM.  Maybe it was chopped off some how.

Thanks,

John Griessen


_______________________________________________
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]