direct-io.hg

changeset 14334:7e66858aa811

Add vcpus_max and vcpus_at_startup values to the example VM creation.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Sat Mar 10 14:57:11 2007 +0000 (2007-03-10)
parents 798a7dc1ac6d
children d09da90db166
files tools/libxen/test/test_bindings.c
line diff
     1.1 --- a/tools/libxen/test/test_bindings.c	Sat Mar 10 14:41:06 2007 +0000
     1.2 +++ b/tools/libxen/test/test_bindings.c	Sat Mar 10 14:57:11 2007 +0000
     1.3 @@ -375,6 +375,8 @@ static xen_vm create_new_vm(xen_session 
     1.4              .memory_static_min = 128,
     1.5              .vcpus_policy = "credit",
     1.6              .vcpus_params = vcpus_params,
     1.7 +            .vcpus_max = 4,
     1.8 +            .vcpus_at_startup = 2,
     1.9              .actions_after_shutdown = XEN_ON_NORMAL_EXIT_DESTROY,
    1.10              .actions_after_reboot = XEN_ON_NORMAL_EXIT_RESTART,
    1.11              .actions_after_crash = XEN_ON_CRASH_BEHAVIOUR_PRESERVE,