mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
qemu: Fix Commnad -> Command typo
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
fe86fc0a21
commit
d45ee63b90
@ -9870,11 +9870,11 @@ typedef enum {
|
|||||||
QEMU_COMMAND_DEPRECATION_BEHAVIOR_CRASH,
|
QEMU_COMMAND_DEPRECATION_BEHAVIOR_CRASH,
|
||||||
|
|
||||||
QEMU_COMMAND_DEPRECATION_BEHAVIOR_LAST
|
QEMU_COMMAND_DEPRECATION_BEHAVIOR_LAST
|
||||||
} qemuCommnadDeprecationBehavior;
|
} qemuCommandDeprecationBehavior;
|
||||||
|
|
||||||
|
|
||||||
VIR_ENUM_DECL(qemuCommnadDeprecationBehavior);
|
VIR_ENUM_DECL(qemuCommandDeprecationBehavior);
|
||||||
VIR_ENUM_IMPL(qemuCommnadDeprecationBehavior,
|
VIR_ENUM_IMPL(qemuCommandDeprecationBehavior,
|
||||||
QEMU_COMMAND_DEPRECATION_BEHAVIOR_LAST,
|
QEMU_COMMAND_DEPRECATION_BEHAVIOR_LAST,
|
||||||
"none",
|
"none",
|
||||||
"omit",
|
"omit",
|
||||||
@ -9890,7 +9890,7 @@ qemuBuildCompatDeprecatedCommandLine(virCommand *cmd,
|
|||||||
g_autoptr(virJSONValue) props = NULL;
|
g_autoptr(virJSONValue) props = NULL;
|
||||||
g_autofree char *propsstr = NULL;
|
g_autofree char *propsstr = NULL;
|
||||||
qemuDomainXmlNsDef *nsdata = def->namespaceData;
|
qemuDomainXmlNsDef *nsdata = def->namespaceData;
|
||||||
qemuCommnadDeprecationBehavior behavior = QEMU_COMMAND_DEPRECATION_BEHAVIOR_NONE;
|
qemuCommandDeprecationBehavior behavior = QEMU_COMMAND_DEPRECATION_BEHAVIOR_NONE;
|
||||||
const char *behaviorStr = cfg->deprecationBehavior;
|
const char *behaviorStr = cfg->deprecationBehavior;
|
||||||
int tmp;
|
int tmp;
|
||||||
const char *deprecatedOutput = NULL;
|
const char *deprecatedOutput = NULL;
|
||||||
@ -9899,7 +9899,7 @@ qemuBuildCompatDeprecatedCommandLine(virCommand *cmd,
|
|||||||
if (nsdata && nsdata->deprecationBehavior)
|
if (nsdata && nsdata->deprecationBehavior)
|
||||||
behaviorStr = nsdata->deprecationBehavior;
|
behaviorStr = nsdata->deprecationBehavior;
|
||||||
|
|
||||||
if ((tmp = qemuCommnadDeprecationBehaviorTypeFromString(behaviorStr)) < 0) {
|
if ((tmp = qemuCommandDeprecationBehaviorTypeFromString(behaviorStr)) < 0) {
|
||||||
VIR_WARN("Unsupported deprecation behavior '%s' for VM '%s'",
|
VIR_WARN("Unsupported deprecation behavior '%s' for VM '%s'",
|
||||||
behaviorStr, def->name);
|
behaviorStr, def->name);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user