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>
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()