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
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D37099

Details

Provenance
markjAuthored on Oct 24 2022, 9:32 PM
Reviewer
jhb
Differential Revision
D37099: bhyve: Use the new vm_limit_rights() interface
Parents
rG3e9b4532d174: libvmmapi: Provide an interface for limiting rights on the device fd
Branches
Unknown
Tags
Unknown