From: Sooyoung Ha Date: Thu, 14 May 2015 13:40:38 +0000 (+0900) Subject: baseimage: modify the qemu run parameter. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0cb663b7ffc0d31d9b2dd7c323cb4f213c917674;p=sdk%2Femulator%2Femulator-manager.git baseimage: modify the qemu run parameter. For the main drive, turn "cache.no-flush" on. This change could enhance the IO performance. Change-Id: I107000ec3d1c6fc0c973a75bb478b122ab839834 Signed-off-by: Sooyoung Ha Signed-off-by: SeokYeon Hwang --- diff --git a/src/org/tizen/emulator/manager/vms/option/BaseImageOption.java b/src/org/tizen/emulator/manager/vms/option/BaseImageOption.java index 764e8ab..2ee69d1 100644 --- a/src/org/tizen/emulator/manager/vms/option/BaseImageOption.java +++ b/src/org/tizen/emulator/manager/vms/option/BaseImageOption.java @@ -38,7 +38,7 @@ public class BaseImageOption extends Option { config.addVariable(VAR_DRIVE, "file=" + property.getConfiguration().getBaseInformation() .getDiskImage().getCurrentDiskImage().getValue() - + ",if=virtio,index=1"); + + ",if=virtio,index=1,cache.no-flush=on"); config.addVariable(VAR_SWAP, "file=" + property.getConfiguration().getBaseInformation() .getDiskImage().getSwapDiskImage().getValue()