On Tue, Oct 5, 2010 at 15:48, Guido Trotter <[email protected]> wrote:
> Signed-off-by: Guido Trotter <[email protected]>
> ---
>  lib/hypervisor/hv_kvm.py |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/lib/hypervisor/hv_kvm.py b/lib/hypervisor/hv_kvm.py
> index 205e571..042aef5 100644
> --- a/lib/hypervisor/hv_kvm.py
> +++ b/lib/hypervisor/hv_kvm.py
> @@ -570,8 +570,7 @@ class KVMHypervisor(hv_base.BaseHypervisor):
>
>     mem_path = hvp[constants.HV_MEM_PATH]
>     if mem_path:
> -      kvm_cmd.extend(["-mem-path", mem_path])
> -      kvm_cmd.extend(["-mem-prealloc"])
> +      kvm_cmd.extend(["-mem-path", mem_path, "-mem-prealloc"])

LGTM, thanks :)

iustin

Reply via email to