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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Xen patchbot-unstable
# HG changeset patch
# User Ewan Mellor <[hidden email]>
# Date 1174864600 -3600
# Node ID af87a02594b6cedb4984f9bc0811defd3fb513fa
# Parent  57becbbe1564b4d464e032820caf78bb3c52648a
Fix memory values -- they should be in bytes.

Signed-off-by: Ewan Mellor <[hidden email]>
---
 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
[hidden email]
http://lists.xensource.com/xen-changelog