virt-manager
to specify which directory you want to share with guestdouble click on the guest -> show virtual hardware details -> filesystems:linux
fill the source path
and target path
boxes, eg.app
source path = /home/user/linux target path = /mnt/linux
Then click apply
to finish.spa
mount -t 9p -o trans=virtio /mnt/linux/ /mnt/linux/
Note:code
target path
is transparent for end users, that is said, it acts like a block device
exported from source path
/mnt/linux /mnt/linux 9p trans=virtio 0 0