HomeFreeBSD

bhyvectl: don't permit using --suspend and --checkpoint at same time

Description

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

Details

Provenance
gusev.vitaliy_gmail.comAuthored on Mar 6 2023, 12:42 PM
corvinkCommitted on Mar 6 2023, 1:04 PM
Reviewer
corvink
Differential Revision
D38887: bhyvectl: Operations --suspend and --checkpoint are alternative
Parents
rG9a9a24896469: bhyve: init checkput before caph_enter
Branches
Unknown
Tags
Unknown