mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 13:17:58 +03:00
bhyve: emit warning when using bhyve:commandline
When using custom command line arguments, warn that this configuration is not fully supported. Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
d04e064775
commit
2055188363
@ -630,6 +630,10 @@ virBhyveProcessBuildBhyveCmd(virConnectPtr conn,
|
||||
if (def->namespaceData) {
|
||||
bhyveDomainCmdlineDefPtr bhyvecmd;
|
||||
|
||||
VIR_WARN("Booting the guest using command line pass-through feature, "
|
||||
"which could potentially cause inconsistent state and "
|
||||
"upgrade issues");
|
||||
|
||||
bhyvecmd = def->namespaceData;
|
||||
for (i = 0; i < bhyvecmd->num_args; i++)
|
||||
virCommandAddArg(cmd, bhyvecmd->args[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user