]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyvectl: don't permit using --suspend and --checkpoint at same time
authorVitaliy Gusev <gusev.vitaliy@gmail.com>
Mon, 6 Mar 2023 12:42:15 +0000 (13:42 +0100)
committerCorvin Köhne <corvink@FreeBSD.org>
Mon, 6 Mar 2023 13:04:26 +0000 (14:04 +0100)
commit062f2818c1ad35bdc3d520c7572e3cefda657770
treed32a725babcee85a894077ebaffacdd25b4b0bb6
parent9a9a248964696f45260ea026aa5f9174cc86b137
bhyvectl: don't permit using --suspend and --checkpoint at same time

When using the --suspend and --checkpoint parameter, bhyvectl will
produce two checkpoint images and the exits. This is slightly ambiguous.
So, permit only one of theses parameters at the same time.

Reviewed by: corvink, markj
MFC after: 1 week
Sponsored by: vStack
Differential Revision: https://reviews.freebsd.org/D38887
usr.sbin/bhyvectl/bhyvectl.c