detect-virt: add --list-cvm option

The --list-cvm option reports the known types of confidential virtualization
technology that can be detected.

Related: https://github.com/systemd/systemd/issues/27604
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé
2023-07-06 12:20:04 +01:00
committed by Luca Boccassi
parent 5e0c61f64d
commit f460fec915
3 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ _systemd_detect_virt() {
local -A OPTS=(
[STANDALONE]='-h --help --version -c --container -v --vm -q --quiet --cvm
--private-users'
--private-users --list --list-cvm'
)
_init_completion || return