Page MenuHomeFreeBSD

Pull the check for VM ownership into ppt_find().
ClosedPublic

Authored by jhb on Nov 20 2020, 11:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 12 2025, 4:08 AM
Unknown Object (File)
Jan 8 2025, 9:05 PM
Unknown Object (File)
Jan 4 2025, 10:25 AM
Unknown Object (File)
Dec 13 2024, 4:11 PM
Unknown Object (File)
Dec 6 2024, 9:52 PM
Unknown Object (File)
Nov 22 2024, 3:56 PM
Unknown Object (File)
Nov 22 2024, 3:53 PM
Unknown Object (File)
Nov 22 2024, 3:34 PM
Subscribers

Details

Summary

This reduces some code duplication. One behavior change is that
ppt_assign_device() will now only succeed if the device is unowned.
Previously, a device could be assigned to the same VM multiple times,
but each time it was assigned, the device's state was reset.

Test Plan
  • booted a centos VM with a cxgbe VF passed in

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable