[virt-tools-list] [virt-manager PATCH] Match default storage size values

Cole Robinson crobinso at redhat.com
Wed Feb 6 20:55:12 UTC 2013


On 02/06/2013 11:23 AM, Martin Kletzander wrote:
> When creating a new volume, there is either 8GB or 1000MB default.
> This patch simply changes the second default to match the first one.
> ---
>  src/virtManager/createvol.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/virtManager/createvol.py b/src/virtManager/createvol.py
> index 4f2e993..d86a213 100644
> --- a/src/virtManager/createvol.py
> +++ b/src/virtManager/createvol.py
> @@ -1,5 +1,5 @@
>  #
> -# Copyright (C) 2008 Red Hat, Inc.
> +# Copyright (C) 2008, 2013 Red Hat, Inc.
>  # Copyright (C) 2008 Cole Robinson <crobinso at redhat.com>
>  #
>  # This program is free software; you can redistribute it and/or modify
> @@ -29,7 +29,7 @@ from virtManager.asyncjob import vmmAsyncJob
>  from virtinst import Storage
> 
>  DEFAULT_ALLOC = 0
> -DEFAULT_CAP   = 1000
> +DEFAULT_CAP   = 8192
> 
>  class vmmCreateVolume(vmmGObjectUI):
>      def __init__(self, conn, parent_pool):
> 

Thanks Martin, pushed now.

- Cole




More information about the virt-tools-list mailing list