HomeFreeBSD

vmm: Fix compiling error with BHYVE_SNAPSHOT

Description

vmm: Fix compiling error with BHYVE_SNAPSHOT

The return values of copyin() and copyout() must be checked.
vm_snapshot_buf_cmp() is unused by the kernel and was incorrectly
implemented, so just remove it.

Reviewed by: markj
Sponsored by: vStack
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D43754

Details

Provenance
gusev.vitaliy_gmail.comAuthored on Feb 6 2024, 3:36 PM
markjCommitted on Feb 6 2024, 3:38 PM
Reviewer
markj
Differential Revision
D43754: vmm: Fix compiling error with BHYVE_SNAPSHOT
Parents
rGdf64d7c8c82d: arm64: Add netmap(4) to default kernel config
Branches
Unknown
Tags
Unknown