mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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) {
|
if (def->namespaceData) {
|
||||||
bhyveDomainCmdlineDefPtr bhyvecmd;
|
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;
|
bhyvecmd = def->namespaceData;
|
||||||
for (i = 0; i < bhyvecmd->num_args; i++)
|
for (i = 0; i < bhyvecmd->num_args; i++)
|
||||||
virCommandAddArg(cmd, bhyvecmd->args[i]);
|
virCommandAddArg(cmd, bhyvecmd->args[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user