[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Add vcpus_max and vcpus_at_startup values to the example VM creation.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1173538631 0
# Node ID 7e66858aa8111d1a5feaa257e0fbe66866bb832c
# Parent  798a7dc1ac6d39578dc3305dbe574e73f1b883ab
Add vcpus_max and vcpus_at_startup values to the example VM creation.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/libxen/test/test_bindings.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 798a7dc1ac6d -r 7e66858aa811 tools/libxen/test/test_bindings.c
--- a/tools/libxen/test/test_bindings.c Sat Mar 10 14:41:06 2007 +0000
+++ b/tools/libxen/test/test_bindings.c Sat Mar 10 14:57:11 2007 +0000
@@ -375,6 +375,8 @@ static xen_vm create_new_vm(xen_session 
             .memory_static_min = 128,
             .vcpus_policy = "credit",
             .vcpus_params = vcpus_params,
+            .vcpus_max = 4,
+            .vcpus_at_startup = 2,
             .actions_after_shutdown = XEN_ON_NORMAL_EXIT_DESTROY,
             .actions_after_reboot = XEN_ON_NORMAL_EXIT_RESTART,
             .actions_after_crash = XEN_ON_CRASH_BEHAVIOUR_PRESERVE,

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.