You are not logged in.

#1 2015-09-18 22:04:28

jackpot
Member
From: Riyadh, Saudi Arabia
Registered: 2014-08-18
Posts: 86

[Solved] How to share host directory with Windows guest?

Hi,

I have installed qemu following instructions from Wiki here with virt-manager.

Now I am trying to share a directory in host with guess Windows 8.1. Using virt-manager > add hardware > file systems, I have tried to add shared folder with target and when I try to access it using target tag or my network (including host's IP address), it does not share intended directory.

Appreciate if someone can help.

Thanks!


EDIT: I installed guest OS (Windows 8.1) using virt-manager not through comments mentioned in qemu wiki. Also note that guest OS is fully working as intended any only problem is sharing of directory between host/guest OSes.

Last edited by jackpot (2017-06-21 01:46:42)


KDE is all good bloated, try to trim away from K*.apps... whatever it leaves behind equals "Kuck yourself!"
nVidia.... fsck sdy0

Offline

#2 2015-09-19 15:05:01

jackpot
Member
From: Riyadh, Saudi Arabia
Registered: 2014-08-18
Posts: 86

Re: [Solved] How to share host directory with Windows guest?

Update:
I have dropped virt-manager and now use qemu commands to launch Win8.1 using:

$ qemu-system-x86_64 /home/me/qmenu-win7/win7.qcow2 -machine accel=kvm -smp cpus=2 -m 1540M -boot order=c -fsdev fsdriver=local,path=/home/me/Office,id=ponka,security_model=passthrough -usb -device qxl-vga,vgamem_mb=128

Still unable to share /Office directory in guest Win OS.

Last edited by jackpot (2015-09-19 15:08:25)


KDE is all good bloated, try to trim away from K*.apps... whatever it leaves behind equals "Kuck yourself!"
nVidia.... fsck sdy0

Offline

#3 2015-09-19 15:48:23

jackpot
Member
From: Riyadh, Saudi Arabia
Registered: 2014-08-18
Posts: 86

Re: [Solved] How to share host directory with Windows guest?

GUIs sometimes make simples things more complicated and same happened with virt-manager.  I managed to solve the problem myself.

1. Fixed permissions on target directory.

2. Fixed ethernet driver problem with guest Windows OS.

3. Added "-net user,smb=/path/to/target.

4. Access in guest OS using "\\10.0.2.4\qemu".

Working flawless and better than virtualbox (IMO).


KDE is all good bloated, try to trim away from K*.apps... whatever it leaves behind equals "Kuck yourself!"
nVidia.... fsck sdy0

Offline

Board footer

Powered by FluxBB