[Kimchi-devel] [PATCH] Add "io"="native" when creating a disk on Kimchi

Ramon Medeiros ramonn at linux.vnet.ibm.com
Wed Nov 18 16:13:32 UTC 2015


When running complex workloads with NFS servers, some machines hang when
power off is pressed. With io=native, servers can poweroff correctly.

Signed-off-by: Ramon Medeiros <ramonn at linux.vnet.ibm.com>
---
 src/wok/plugins/kimchi/xmlutils/disk.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/wok/plugins/kimchi/xmlutils/disk.py b/src/wok/plugins/kimchi/xmlutils/disk.py
index 84be91d..2ed2ef4 100644
--- a/src/wok/plugins/kimchi/xmlutils/disk.py
+++ b/src/wok/plugins/kimchi/xmlutils/disk.py
@@ -53,6 +53,7 @@ def get_disk_xml(params):
     driver = E.driver(name='qemu', type=params['format'])
     if params['type'] != 'cdrom':
         driver.set('cache', 'none')
+        driver.set("io", "native")
 
     disk.append(driver)
 
-- 
2.1.0




More information about the Kimchi-devel mailing list