torture: Specify qemu memory size with --memory argument
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 12 Jan 2018 22:19:05 +0000 (14:19 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 21 Feb 2018 00:21:59 +0000 (16:21 -0800)
commit642146b1ad9bf73b5d1384610d1314d833a560dc
treeb9cbffdb0bb430c3a5201c8933bf166216c2bb9f
parent67ad71ddbcae09d891f44d4cd08a9354bc8399b0
torture: Specify qemu memory size with --memory argument

The 512 megabyte memory size has served quite well, but more memory
is required when using large trace buffers on large systems.  This
commit therefore adds a --memory argument to the kvm.sh script, which
allows the memory size to be specified on the command line, for example,
"--memory 768", --memory 800M", or "--memory 2G".

Reported-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh
tools/testing/selftests/rcutorture/bin/kvm.sh