Make 15_create put mem=XXM on the kernel cmd line
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
@@ -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
Ewan Mellor
AppliedQuoted 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 onx86_64.Signed-off-by Dan Smith <[email protected]>
Applied.
Ewan.