Shared folder in QEMU between Windows Host and Debian Guest
1
vote
1
answer
10080
views
How do you share between the two?
I have booted my image on my Windows 10 host using this:
qemu-system-x86_64 -hda debian.img -m 512 -net user,smb=C:\users\jason\Desktop\sharing\ -net nic,model=virtio
In the guest I tried to connect to Samba through this:
smbclient //10.0.2.4/qemu
This returns
Connection to 10.0.2.4 failed (Error NT_STATUS_HOST_UNREACHABLE)
I also tried smbclient //10.0.2.15/qemu
which returned
DOMAIN=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.5.16-Debian]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
The /tmp
and /mnt
directories remain empty.
Asked by Jason Adhinarta
(15 rep)
Mar 8, 2019, 12:49 AM
Last activity: Jun 12, 2025, 01:08 AM
Last activity: Jun 12, 2025, 01:08 AM