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

Paulo Ricardo Paz Vital pvital at linux.vnet.ibm.com
Wed Nov 18 16:25:11 UTC 2015


Reviewed-By: Paulo Vital <pvital at 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 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)
> 




More information about the Kimchi-devel mailing list