Skip to contentSkip to conversation

Make 15_create put mem=XXM on the kernel cmd line

PATCH Applied Dan Smith 2 participants 2 messages Nov 17, 2005 – Nov 18, 2005

lore
Share & tools
lore

Dan Smith

author
#0 lore raw

PATCH 1/1 Make 15_create put mem=XXM on the kernel cmd line

This patch adds "mem=XXM" to the kernel command line when trying to create a domain with a very small amount of memory. This makes it work for me on x86_32, but still fails on x86_64.

# HG changeset patch
# User [email protected]
# Node ID 176469bcd529a6ced7134bcb9975f339f814329c
# Parent 1b466985687fe1d02e80aad813878dcba251eaa8
Make test 15_create_smallmem pass mem=16M on the kernel command line.

tools/xm-test/tests/create/15_create_smallmem_pos.py +2 -1
diff -r 1b466985687f -r 176469bcd529 tools/xm-test/tests/create/15_create_smallmem_pos.py
@@ -7,7 +7,8 @@
 
 MEM = 16
 
-domain = XmTestDomain(extraOpts={"memory":"%i" % MEM})
+domain = XmTestDomain(extraOpts={"memory":"%i" % MEM,
+                                 "extra" :"mem=%iM" % MEM})
 
 try:
     domain.start()
Signature · 4 lines
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: [email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Applied
#1 lore raw
Quoted 5 lines · Dan Smith

This patch adds "mem=XXM" to the kernel command line when trying to create a domain with a very small amount of memory. This makes it work for me on x86_32, but still fails on x86_64.

Applied.

Ewan.