Well I found in the qemu documentation that the
option can be set to enable samba networking.
However, I followed the instructions in the qemu man page on how to configure it within my windows98 machine, but haven't managed to get it working!
path = /home/user/new
writeable = yes
browseable = yes
guest ok = yes
qemu man page instructions:
From within windows98, I could not find C:\Windows\lmhosts, only C:\Windows\lmhosts.sam . Therefore I copied "lmhosts.sam" to create a "lmhosts" file, and added "10.0.2.4 smbserver" to the bottom of both of them, just to be on the safe side.
I then started qemu with
qemu -smb /home/user/new /vm/Windows98-s001.vmdk
but with no success. I don't know what is going wrong... (smbd is running, by the way).