diff options
author | Ewan Mellor <ewan@xensource.com> | 2007-03-26 00:16:40 +0100 |
---|---|---|
committer | Ewan Mellor <ewan@xensource.com> | 2007-03-26 00:16:40 +0100 |
commit | c664b945622ce8cdd0548e5c2c013ff04ba7db12 (patch) | |
tree | 09fe4f0b2859d9854571642f87b540200b31281b /tools/libxen | |
parent | 53829083671ff9c3cc63ff47a8f35ff957693e79 (diff) | |
download | xen-c664b945622ce8cdd0548e5c2c013ff04ba7db12.tar.gz xen-c664b945622ce8cdd0548e5c2c013ff04ba7db12.tar.bz2 xen-c664b945622ce8cdd0548e5c2c013ff04ba7db12.zip |
Fix memory values -- they should be in bytes.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxen')
-rw-r--r-- | tools/libxen/test/test_bindings.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/libxen/test/test_bindings.c b/tools/libxen/test/test_bindings.c index 58074a9b02..0904ec3ca8 100644 --- a/tools/libxen/test/test_bindings.c +++ b/tools/libxen/test/test_bindings.c @@ -379,10 +379,10 @@ static xen_vm create_new_vm(xen_session *session, bool hvm) .name_description = hvm ? "New HVM VM" : "New PV VM", .user_version = 1, .is_a_template = false, - .memory_static_max = 256, - .memory_dynamic_max = 256, - .memory_dynamic_min = 128, - .memory_static_min = 128, + .memory_static_max = 256 * 1024 * 1024, + .memory_dynamic_max = 256 * 1024 * 1024, + .memory_dynamic_min = 128 * 1024 * 1024, + .memory_static_min = 128 * 1024 * 1024, .vcpus_params = vcpus_params, .vcpus_max = 4, .vcpus_at_startup = 2, |