Reviewed-By: Paulo Vital <pvital(a)linux.vnet.ibm.com>
On Wed, 2015-11-18 at 14:13 -0200, Ramon Medeiros wrote:
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(a)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)