Signed-off-by: Cole Robinson <crobi...@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

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to