You are not logged in.

#1 2023-12-26 20:52:55

xyrgug
Member
Registered: 2023-12-15
Posts: 34

[Solved] KVM, QEMU and Virt-Manager shared dir problem

I installed this virtual machine manager on my Arch using this guide here.
https://gitlab.com/stephan-raabe/archin … n/7-kvm.sh
It worked. Then I successfully installed Linux Mint VM.

Next I found one of the many tutorials on how to make a shared directory. Like this one.
https://sysguides.com/share-files-betwe … -virtiofs/

They all say: just enter this command on the host and everything will work.

sudo mount -v -t virtiofs SF ~/share

But after entering this command the file system freezes. The ls command in terminal or dolphin in home dir, it just freezes.
Obviously the mount is not working out.

Was it my virtual's machine fault? I created a new one, this time Ubuntu. Same result.
New one. Debian. Same.
And finally Arch. Same.

I need help maybe someone has encountered this? Maybe some package or a setting is missing?

Last edited by xyrgug (2023-12-27 09:09:19)

Offline

#2 2023-12-27 09:06:39

xyrgug
Member
Registered: 2023-12-15
Posts: 34

Re: [Solved] KVM, QEMU and Virt-Manager shared dir problem

I'm used to it being my fault if something doesn't work. Yeah.
But I forgot it's Arch linux.
Turns out it was just a maintainer broke the virtiofsd 1.9.0-1 package.
Today the virtiofsd 1.9.0-2 update came out and everything worked.
It was just "lucky" me that decided to install the system at this very moment.

Last edited by xyrgug (2023-12-27 09:20:16)

Offline

#3 2023-12-27 19:24:02

JustSomeGeek
Member
From: Scotland
Registered: 2018-08-13
Posts: 68

Re: [Solved] KVM, QEMU and Virt-Manager shared dir problem

I had the same issue, but as no-one with superior knowledge posted about it, I assumed it was my tinkering to blame. I've reverted to using an NFS server on the host to share mounts with guests until I setup VirtIOFS again later, now the update is out.

Offline

#4 2023-12-29 08:02:26

wildw1ng
Member
Registered: 2020-03-17
Posts: 12

Re: [Solved] KVM, QEMU and Virt-Manager shared dir problem

same here. since last time i updated the system the virtual mashine using virtiofs locks up.

[2023-12-27T05:10:27Z WARN  virtiofsd] Use of deprecated option format '-o': Please specify options without it (e.g., '--cache auto' instead of '-o cache=auto')
[2023-12-27T05:10:27Z INFO  virtiofsd] Waiting for vhost-user socket connection...
[2023-12-27T05:10:27Z INFO  virtiofsd] Client connected, servicing requests
[2023-12-27T05:10:31Z ERROR virtiofsd] Waiting for daemon failed: HandleRequest(InvalidMessage)

Offline

Board footer

Powered by FluxBB