Sharing a path between Mint KVM host and MX Linux KVM guest

Questions about virtualization software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mushishi
Level 1
Level 1
Posts: 15
Joined: Tue Nov 02, 2021 5:13 pm

Sharing a path between Mint KVM host and MX Linux KVM guest

Post by mushishi »

First of all this is the software I am using:

Code: Select all

$ apt show virt-manager
Package: virt-manager
Version: 1:2.2.1-3ubuntu2.1
...
Mint is 20.2, MX is 19.4 . I tried to share a folder from my $HOME with the guest, but despite trying to add my user to the groups kvm, libvirt-qemu and libvirt and changing user+group permissions of the $HOME subfolder, I got permission denied errors. Similar to these:
https://github.com/virt-manager/virt-bootstrap/issues/6

I worked around this problem, let's call it (*), by creating a path on /mnt with sufficient permissions and sync the contents via Unision. If anyone has a better idea, I am open to suggestions.
However my real problem, let's call it (**), is that the filesystem mount does not work. I followed the following how-to:
https://cialu.net/qemu-kvm-on-ubuntu-an ... nd-guests/

Except that I pick the "mount" mode instead of "squash". Unfortunately, neither option works, as I cannot see any files on the guest. I am also surprised not to see the path "/vmshare" on my guest. Any tips?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Virtual Machines”