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

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

 



On Mon, Feb 9, 2015 at 4:29 PM, Marc-André Lureau <marcandre.lureau@xxxxxxxxx> wrote:
Hi

https://elmarco.fedorapeople.org/spice-webdavd-x86-0.4.17-72db.msi

It starts for me during installation. Hope you get there too!

--
Marc-André Lureau


ok, I was able to install the new package and service starts during install phase too.
So I shutdown and power off the wm and start from there

in /var/log/libvirt/qemu/w7.log when I start vm
2015-02-09 16:00:31.348+0000: starting up
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=spice /usr/bin/qemu-kvm -name w7 -S -machine pc-i440fx-1.4,accel=kvm,usb=off -m 3072 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid b3c34d75-9f04-9648-f995-d26d62dcb2dd -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/w7.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive file=/var/lib/libvirt/images/w7.img,if=none,id=drive-virtio-disk0,format=raw,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=24,id=hostnet0,vhost=on,vhostfd=25 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:d3:8e:29,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -chardev spiceport,id=charchannel1,name=org.spice-space.webdav.0 -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,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 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
char device redirected to /dev/pts/1 (label charserial0)

Then I start spicy
sudo spicy -h localhost -p 5900

(spicy:17609): GSpice-CRITICAL **: spice_session_set_shared_dir: assertion 'dir != NULL' failed
GSpice-Message: main channel: opened
port 0x1c6c640 org.spice-space.webdav.0: opened

when I run spicy command, in /var/log/libvirt/qemu/w7.log I get:
main_channel_link: add main channel client
main_channel_handle_parsed: agent start
main_channel_handle_parsed: net test: latency 0.669000 ms, bitrate 6282208588 bps (5991.180981 Mbps)
inputs_connect: inputs channel client create
red_dispatcher_set_cursor_peer: 

In windows guest I see the service as started and  the command "netstat -an | more" gives the guest listening:

  TCP    0.0.0.0:9843           0.0.0.0:0              LISTENING

But it seems that the "net use" registry key that the map-drive.bat creates, actually is not able to connect....
I see no network disk mapped...
And if I manually run it I get

C:\SPICE webdavd>map-drive.bat

C:\SPICE webdavd>net use * http://localhost:9843/
System error 67 has occurred.

The network name cannot be found.


C:\SPICE webdavd>REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explore
r\MountPoints2\##localhost@9843#DavWWWRoot" /v  "_LabelFromReg" /t REG_SZ /d "Sp
ice client" /f
The operation completed successfully.

Could it be anything with syntax of net use itself? the localhost is resolved...
C:\SPICE webdavd>ping localhost

Pinging tekkawin7 [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

If it can influence, inside my windows\system32\drivers\etc\hosts I have these sort of lines:
# localhost name resolution is handled within DNS itself.
# 127.0.0.1       localhost
# ::1             localhost


I also tried to follow this M$ note
http://support.microsoft.com/kb/841215#LetMeFixItMyselfAlways

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
Note The mapping is as follows:
  • 0 - Basic authentication disabled
  • 1 - Basic authentication enabled for Secure Sockets Layer (SSL) shares only
  • 2 or greater - Basic authentication enabled for SSL shares and for non-SSL shares
My default was 1 and I changed also to 2 and then reboot but I keep getting the same error code 67 from the net use command

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