On Mon, Nov 02, 2009 at 03:02:45PM -0500, Cole Robinson wrote:
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;
ACK
Daniel
--
|: Red Hat, Engineering, London -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://ovirt.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|