mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
test: Update vcpu runtime info in SetVcpus
This commit is contained in:
parent
667ce28946
commit
08dce95a74
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user