HomeFreeBSD

bhyve: Pass a vCPU ID of 0 to vm_setup_pptdev_msi*.

Description

bhyve: Pass a vCPU ID of 0 to vm_setup_pptdev_msi*.

These ioctls are not vCPU-specific and the ioctl now ignores the vCPU
ID. 0 is used instead of -1 to provide limited forwards
compatibility.

Reviewed by: corvink, markj
Differential Revision: https://reviews.freebsd.org/D37651

(cherry picked from commit 0857e5555d77357e34ea6d70b28ead6335e41d33)

Details

Provenance
jhbAuthored on Dec 9 2022, 6:28 PM
Reviewer
corvink
Differential Revision
D37651: bhyve: Pass a vCPU ID of 0 to vm_setup_pptdev_msi*.
Parents
rG477ca9b8ef7a: bhyve: Remove unused argument from pci_nvme_handle_doorbell.
Branches
Unknown
Tags
Unknown