HomeFreeBSD

bhyve: Use the new vm_limit_rights() interface

Description

bhyve: Use the new vm_limit_rights() interface

This addresses a compiler warning arising from the fact that bhyve
needs to cast away a const qualifier in order to call free().

No functional change intended.

Reviewed by: jhb

(cherry picked from commit fb7ce0a95ef1e796c10def3ed660e487ffb77c75)

Details

Provenance
markjAuthored on Oct 24 2022, 9:32 PM
Parents
rGf5e18a7c3c8b: libvmmapi: Provide an interface for limiting rights on the device fd
Branches
Unknown
Tags
Unknown