[Bug 282258] sysutils/vm-bhyve Patch to use significantly more PCI devices in a VM guest

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Oct 2024 23:08:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282258

            Bug ID: 282258
           Summary: sysutils/vm-bhyve Patch to use significantly more PCI
                    devices in a VM guest
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: arne@Steinkamm.COM
                CC: churchers@gmail.com
             Flags: maintainer-feedback?(churchers@gmail.com)
                CC: churchers@gmail.com

Created attachment 254430
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=254430&action=edit
Patch to distribute devices on multiple guest PCI buses

The Bhyve wrapper vm-bhyve only distributes devices on PCI bus 0 even though
bhyve supports multiple PCI buses.

This limits the number of virtual devices a VM can use.

In my use case it was necessary to create a VM with significantly more than 200
vtnet(4) devices.
The attached patch allows virtual devices to be distributed across multiple PCI
buses, thus multiplying the number of devices that can be used in a VM.

See attachment.

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