HomeFreeBSD

libvmm: clean up vmmapi.h

Description

libvmm: clean up vmmapi.h

struct checkpoint_op, enum checkpoint_opcodes, and
MAX_SNAPSHOT_VMNAME are not vmm specific, move them out of the vmmapi
header.

They are used for the save/restore functionality that bhyve(8)
provides and are better suited in usr.sbin/bhyve/snapshot.h

Since bhyvectl(8) requires these, the Makefile for bhyvectl has been
modified to include usr.sbin/bhyve/snapshot.h

Reviewed by: kevans, grehan
Differential Revision: https://reviews.freebsd.org/D28410

(cherry picked from commit 4f4065e0a220a57afa03420d4f8fa97dbcb5644c)

Details

Provenance
rewAuthored on Jan 29 2021, 8:30 AM
jhbCommitted on Jan 26 2023, 6:37 PM
Reviewer
kevans
Differential Revision
D28410: libvmm: clean up vmmapi.h
Parents
rG38433b790de0: bhyve/ioapic: improve the tracking of IRR bit
Branches
Unknown
Tags
Unknown