提交 08dce95a 编写于 作者: C Cole Robinson

test: Update vcpu runtime info in SetVcpus

上级 667ce289
......@@ -1993,6 +1993,10 @@ static int testSetVcpus(virDomainPtr domain,
goto cleanup;
}
/* Update VCPU state for the running domain */
if (testDomainUpdateVCPUs(domain->conn, privdom, nrCpus, 0) < 0)
goto cleanup;
privdom->def->vcpus = nrCpus;
ret = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册