提交 659ded58 编写于 作者: E Eric Blake

qemu: fix blkiotune --live --config

Without this,  'virsh blkiotune --live --config --weight=n'
only affected live.

* src/qemu/qemu_driver.c (qemuDomainSetBlkioParameters): Allow
setting both configurations at once.
上级 51727c1d
无相关合并请求
......@@ -5979,7 +5979,10 @@ static int qemuDomainSetBlkioParameters(virDomainPtr dom,
ret = -1;
}
}
} else if (flags & VIR_DOMAIN_AFFECT_CONFIG) {
}
if (ret < 0)
goto cleanup;
if (flags & VIR_DOMAIN_AFFECT_CONFIG) {
/* Clang can't see that if we get here, persistentDef was set. */
sa_assert(persistentDef);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部