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
F137475466: D37651.id113971.diff
Sun, Nov 23, 7:43 PM
Unknown Object (File)
Fri, Nov 21, 1:22 PM
Unknown Object (File)
Tue, Nov 18, 2:54 PM
Unknown Object (File)
Fri, Nov 7, 11:42 PM
Unknown Object (File)
Fri, Nov 7, 7:37 PM
Unknown Object (File)
Wed, Nov 5, 11:58 PM
Unknown Object (File)
Tue, Nov 4, 12:27 PM
Unknown Object (File)
Sat, Nov 1, 10:49 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 48671
Build 45557: arc lint + arc unit

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).

1032

But this one is indeed long.