]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libvmm: clean up vmmapi.h
authorRobert Wing <rew@FreeBSD.org>
Fri, 29 Jan 2021 08:30:31 +0000 (23:30 -0900)
committerRobert Wing <rew@FreeBSD.org>
Thu, 18 Feb 2021 02:46:42 +0000 (17:46 -0900)
commit4f4065e0a220a57afa03420d4f8fa97dbcb5644c
treed67f0b62d00f7d2dbb1526b171cc4554c4b13a1d
parent24fd63e0970f91189dd2acde987bd2e4c8c04a50
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
lib/libvmmapi/vmmapi.h
usr.sbin/bhyve/snapshot.h
usr.sbin/bhyvectl/Makefile
usr.sbin/bhyvectl/bhyvectl.c