]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
bhyve: emit warning when using bhyve:commandline
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 31 Jan 2019 12:37:01 +0000 (16:37 +0400)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Fri, 1 Feb 2019 18:08:55 +0000 (22:08 +0400)
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>
src/bhyve/bhyve_command.c

index a1ae2026a07add2e06efc5c9af275cc1fb7683b5..1f215dac085dd207e0733ecae746863f7b724f5a 100644 (file)
@@ -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]);