ia64/xen-unstable

changeset 14548:af87a02594b6

Fix memory values -- they should be in bytes.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Mon Mar 26 00:16:40 2007 +0100 (2007-03-26)
parents 57becbbe1564
children ae81e49219a8
files tools/libxen/test/test_bindings.c
line diff
     1.1 --- a/tools/libxen/test/test_bindings.c	Mon Mar 26 00:12:19 2007 +0100
     1.2 +++ b/tools/libxen/test/test_bindings.c	Mon Mar 26 00:16:40 2007 +0100
     1.3 @@ -379,10 +379,10 @@ static xen_vm create_new_vm(xen_session 
     1.4              .name_description = hvm ? "New HVM VM" : "New PV VM",
     1.5              .user_version = 1,
     1.6              .is_a_template = false,
     1.7 -            .memory_static_max = 256,
     1.8 -            .memory_dynamic_max = 256,
     1.9 -            .memory_dynamic_min = 128,
    1.10 -            .memory_static_min = 128,
    1.11 +            .memory_static_max = 256 * 1024 * 1024,
    1.12 +            .memory_dynamic_max = 256 * 1024 * 1024,
    1.13 +            .memory_dynamic_min = 128 * 1024 * 1024,
    1.14 +            .memory_static_min = 128 * 1024 * 1024,
    1.15              .vcpus_params = vcpus_params,
    1.16              .vcpus_max = 4,
    1.17              .vcpus_at_startup = 2,