baseimage: modify the qemu run parameter.
authorSooyoung Ha <yoosah.ha@samsung.com>
Thu, 14 May 2015 13:40:38 +0000 (22:40 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 15 May 2015 08:31:28 +0000 (17:31 +0900)
For the main drive, turn "cache.no-flush" on.
This change could enhance the IO performance.

Change-Id: I107000ec3d1c6fc0c973a75bb478b122ab839834
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
src/org/tizen/emulator/manager/vms/option/BaseImageOption.java

index 764e8ab..2ee69d1 100644 (file)
@@ -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()