I've filed a new one for this: FB25600630.
It's still happening on macOS 26.7.3 (25G342). Once the guest has looked up several hundred thousand files on a virtio-fs share, everything on the share hangs. Usually it's for a minute or two, but the worst I've had was nearly 10 minutes. During the hang, com.apple.Virtualization.VirtualMachine is spinning on the share's serial queue.
As a workaround I run echo 2 > /proc/sys/vm/drop_caches in the guest whenever the host has more than 150k files open. That makes the guest send FUSE_FORGET, and I haven't had a hang since
Topic:
App & System Services
SubTopic:
Core OS
Tags: