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

[Xen-changelog] [xen-unstable] Fix memory values -- they should be in bytes.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1174864600 -3600
# Node ID af87a02594b6cedb4984f9bc0811defd3fb513fa
# Parent  57becbbe1564b4d464e032820caf78bb3c52648a
Fix memory values -- they should be in bytes.

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

diff -r 57becbbe1564 -r af87a02594b6 tools/libxen/test/test_bindings.c
--- a/tools/libxen/test/test_bindings.c Mon Mar 26 00:12:19 2007 +0100
+++ b/tools/libxen/test/test_bindings.c Mon Mar 26 00:16:40 2007 +0100
@@ -379,10 +379,10 @@ static xen_vm create_new_vm(xen_session 
             .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,

_______________________________________________
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®.