Hi Thomas, Thomas Schwinge <tho...@schwinge.name> skribis:
> On Sun, 25 Mar 2012 11:07:51 +0200, I wrote: >> On Sun, 18 Mar 2012 18:34:48 +0100, l...@gnu.org (Ludovic >> =?iso-8859-1?Q?Court=E8s?=) wrote: >> > The “large” QEMU image at >> > <http://hydra.nixos.org/job/gnu/hurd-master/qemu_image/latest/download> >> > now has an smbfs translator on /host, so that one can boot it with: >> > >> > qemu-system-x86_64 -smb $PWD disk-image.qcow2 >> > >> > and exchange files between the host and guest machine. >> >> Hmm, no matter what I do with /host, it always fails similar to this: >> >> $ ls -l /host/ >> ls: cannot access /host/: Function not implemented >> >> On the host, I have Debian's samba package installed; that should be >> enough, no special setup required? >> >> I'm starting to debug this, but perhaps you've seen this, too? > > OK, the QEMU smb support can possibly only work if QEMU is run as the > root user (tries to bind to port 139; Hmm, QEMU starts the host’s smbd when the guest’s port 139 is accessed, but smbd just gets data on its standard input (it’s an inetd-style daemon.) See net/slirp.c in QEMU. It definitely works for me with QEMU-KVM 0.15.1 as non-root. Thanks, Ludo’.