[Bug 294327] bhyve never closes files that were opened by guest virtual machine via 9pfs

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Apr 2026 09:38:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294327

            Bug ID: 294327
           Summary: bhyve never closes files that were opened by guest
                    virtual machine via 9pfs
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: nvass@gmx.com

A FreeBSD guest that mounts a p9fs filesystem never closes opened files. The
host system running bhyve looks like this:

# fstat | grep bhyve | wc -l
   22345

This only happens with FreeBSD guest systems and not Linux ones. It should
affect all people exporting local filesystems to guests via p9fs.

-- 
You are receiving this mail because:
You are the assignee for the bug.