diff options
author | Ewan Mellor <ewan@xensource.com> | 2007-03-10 14:57:11 +0000 |
---|---|---|
committer | Ewan Mellor <ewan@xensource.com> | 2007-03-10 14:57:11 +0000 |
commit | 6eb3760aa862241c16e9e91cbc3e341e85b00641 (patch) | |
tree | c88b344c23c798aa417756eeea9d6faa6d501835 /tools/libxen | |
parent | 8d7dee0b2af3a7e9612c6ee9eca8af0e27e32855 (diff) | |
download | xen-6eb3760aa862241c16e9e91cbc3e341e85b00641.tar.gz xen-6eb3760aa862241c16e9e91cbc3e341e85b00641.tar.bz2 xen-6eb3760aa862241c16e9e91cbc3e341e85b00641.zip |
Add vcpus_max and vcpus_at_startup values to the example VM creation.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxen')
-rw-r--r-- | tools/libxen/test/test_bindings.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libxen/test/test_bindings.c b/tools/libxen/test/test_bindings.c index 6a51cd3a05..8e89ee5356 100644 --- a/tools/libxen/test/test_bindings.c +++ b/tools/libxen/test/test_bindings.c @@ -375,6 +375,8 @@ static xen_vm create_new_vm(xen_session *session, bool hvm) .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, |