Update KVM to simulate up to 4 CPUs.

This allows KVM stage to run significantly faster. On
my machine, with this change I was able to run the pre-flight
queue VM update tests in ~369 seconds, compared to the normal
time of >1000 seconds.

BUG=chromium-os:23112, chromium-os:22784
TEST=Verify speed increase, trybot runs.

Change-Id: Ic27dd1719573fb50a412a0cfe39adf5408493ea8
Reviewed-on: https://gerrit.chromium.org/gerrit/11835
Commit-Ready: David James <davidjames@chromium.org>
Reviewed-by: David James <davidjames@chromium.org>
Tested-by: David James <davidjames@chromium.org>
This commit is contained in:
David James 2011-11-16 18:59:53 -08:00
parent d2ea8338fe
commit 42f4c75ad7

View File

@ -90,6 +90,7 @@ function start_kvm() {
fi
sudo kvm -m 1024 \
-smp 4 \
-vga std \
-pidfile "${KVM_PID_FILE}" \
-daemonize \