Bug 294327 - bhyve never closes files that were opened by guest virtual machine via 9pfs
Summary: bhyve never closes files that were opened by guest virtual machine via 9pfs
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 14.3-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-emulation (Nobody)
URL:
Keywords: bhyve
Depends on:
Blocks:
 
Reported: 2026-04-08 09:38 UTC by nvass
Modified: 2026-04-11 17:35 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nvass 2026-04-08 09:38:10 UTC
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.
Comment 1 nvass 2026-04-08 10:58:43 UTC
The same happens on a KVM hypervisor