mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
We try to set the cache type to unsafe, which is a new kvm feature, else we set the cache type to writeback. The hope is that these cache types will perform better on the bots, especially in the case of the guest trying to flush data to disk. The CL includes code to determine which version of kvm is running, and the cache type is chosen based on that. BUG=chromium-os:20305 TEST=trybot Change-Id: Icf7dbb8f0056a330282ebeb81d0902b3d54f34c5 Reviewed-on: http://gerrit.chromium.org/gerrit/8360 Reviewed-by: David James <davidjames@chromium.org> Tested-by: Andrew de los Reyes <adlr@chromium.org>