Hello- I am trying to shares files between Windows host and Linux guest using slirp’s built-in SMB server. I start QEMU 2.9.0 using the following:
C:\Program Files\qemu>qemu-system-i386.exe -readconfig \Users\mfonnemann\qemu.cfg -net nic -net user,smb=\Users\mfonnemann\smb I then try to mount the SMB share first with 10.0.2.4: root@qemu:~# mount -t cifs //10.0.2.4/Users/mfonnemann/smb tmp -o user=mfonnemann Password: CIFS VFS: Error connecting to IPv4 socket. Aborting operation CIFS VFS: cifs_mount failed w/return code = -113 mount error 113 = No route to host mount: mount.cifs failed with status -1 And then with 10.0.2.2: root@qemu:~# mount -t cifs //10.0.2.2/Users/mfonnemann/smb tmp -o user=mfonnemann Password: CIFS VFS: Unknown RFC 1002 frame CIFS VFS: Send error in SessSetup = -13 CIFS VFS: cifs_mount failed w/return code = -13 mount error 13 = Permission denied mount: mount.cifs failed with status -1 Regarding RFC 1002 frame, I see the following when using “dmesg”: CIFS VFS: Unknown RFC 1002 frame Received Data: : dump of 36 bytes of data at 0xf71400c0 0000008d 57770064 6e006900 6f006400 . . . . d . w W . i . n . d . o 73007700 31002000 20003000 72005000 . w . s . . 1 . 0 . . P . r 20006f00 . o . Any help would be greatly appreciated!! Thank you very much. Best Regards / Mit freundlichen Grüßen / 敬具, Mark.