Signed-off-by: Cole Robinson <crobinso(a)redhat.com>
---
src/test/test_driver.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index a8bec58..078658f 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -1992,6 +1992,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;
--
1.6.5.1