HomeFreeBSD

riscv/vmm: Fix the build after a97f683fe3c4

Description

riscv/vmm: Fix the build after a97f683fe3c4

  • Make machine/vmm_dev.h self-contained.
  • Check for errors from vmmdev_init().
  • Make VM_MAX_NAMELEN visible to userspace.

Reported by: Jenkins
Fixes: a97f683fe3c4 ("vmm: Add a device file interface for creating and destroying VMs")

Details

Provenance
markjAuthored on Tue, Nov 5, 3:13 AM
Parents
rG5af09f50d761: include: Add required guards for dev/vmm headers
Branches
Unknown
Tags
Unknown