- Install samba server. I will not explain this here as it depends on your linux distribution.
- Configure it: cat /etc/samba/smb.conf
[WorkShare]
comment = Host Share
path = /home/mansour/work/
valid users = mansour
public = yes
writable = yes
printable = no
- Now we need add "mansour" to samba users. If you don't this, you wont be able to login to the share!
smbpasswd -a mansour
- start your KVM :
kvm -m 2G -vga std -smp 2 -net nic,vlan=1 -net user,vlan=1 my-window-xp-pro.im
- From window Start --> Run : \\10.0.2.2\WorkShare
enter the username and password, and you should be able to view the files in your share.
For reference: Use Windows XP on Gentoo Linux with KVM