提交 90afacb3 编写于 作者: J John Morrissey 提交者: Matthias Bolte

qemu: Remove unnecessary quoting from the process name argument

上级 d941eb13
...@@ -4223,7 +4223,7 @@ int qemudBuildCommandLine(virConnectPtr conn, ...@@ -4223,7 +4223,7 @@ int qemudBuildCommandLine(virConnectPtr conn,
if (driver->setProcessName && if (driver->setProcessName &&
(qemuCmdFlags & QEMUD_CMD_FLAG_NAME_PROCESS)) { (qemuCmdFlags & QEMUD_CMD_FLAG_NAME_PROCESS)) {
char *name; char *name;
if (virAsprintf(&name, "%s,process=\"qemu:%s\"", if (virAsprintf(&name, "%s,process=qemu:%s",
def->name, def->name) < 0) def->name, def->name) < 0)
goto no_memory; goto no_memory;
ADD_ARG_LIT(name); ADD_ARG_LIT(name);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册