Page MenuHomeFreeBSD

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

Authored by jhb on Dec 9 2022, 12:59 AM.
Tags
None
Referenced Files
F113630276: D37651.id.diff
Tue, Apr 1, 4:26 AM
Unknown Object (File)
Fri, Mar 28, 2:46 AM
Unknown Object (File)
Tue, Mar 11, 10:06 PM
Unknown Object (File)
Tue, Mar 11, 9:53 PM
Unknown Object (File)
Tue, Mar 11, 7:26 PM
Unknown Object (File)
Feb 5 2025, 7:14 PM
Unknown Object (File)
Feb 4 2025, 12:57 PM
Unknown Object (File)
Jan 31 2025, 5:12 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Dec 9 2022, 12:59 AM
This revision is now accepted and ready to land.Dec 9 2022, 7:28 AM
markj added inline comments.
usr.sbin/bhyve/pci_passthru.c
951

This line is too long.

usr.sbin/bhyve/pci_passthru.c
951

Hmm, this one is 79 characters long (and the vcpu gets removed in a followup).

1031–1032

But this one is indeed long.