[Kimchi-devel] [PATCH] Increase template minimal memory to 2048 for PPC guests

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Tue May 12 05:35:06 UTC 2015


There is a bug in the default template values.
Please, ignore this patch, I am going to send another patch fixing the 
bug too.


On 05/12/2015 12:44 AM, Rodrigo Trujillo wrote:
> Users have seen issues when installing PPC64 and PPC64LE guests using
> the default 1280M. This patch increases the amount of memory to 2G.
>
> Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo at linux.vnet.ibm.com>
> ---
>   src/kimchi/osinfo.py | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/src/kimchi/osinfo.py b/src/kimchi/osinfo.py
> index 67d85be..d80f717 100644
> --- a/src/kimchi/osinfo.py
> +++ b/src/kimchi/osinfo.py
> @@ -43,28 +43,28 @@ template_specs = {'x86': {'old': dict(disk_bus='ide',
>                                           cdrom_bus='scsi',
>                                           kbd_type="kbd",
>                                           kbd_bus='usb', mouse_bus='usb',
> -                                        tablet_bus='usb', memory=1280),
> +                                        tablet_bus='usb', memory=2048),
>                               'modern': dict(disk_bus='virtio',
>                                              nic_model='virtio',
>                                              cdrom_bus='scsi',
>                                              kbd_bus='usb',
>                                              kbd_type="kbd",
>                                              mouse_bus='usb', tablet_bus='usb',
> -                                           memory=1280)},
> +                                           memory=2048)},
>                     'ppc64le': {'old': dict(disk_bus='virtio',
>                                             nic_model='virtio',
>                                             cdrom_bus='scsi',
>                                             kbd_bus='usb',
>                                             kbd_type="keyboard",
>                                             mouse_bus='usb', tablet_bus='usb',
> -                                          memory=1280),
> +                                          memory=2048),
>                                 'modern': dict(disk_bus='virtio',
>                                                nic_model='virtio',
>                                                cdrom_bus='scsi',
>                                                kbd_bus='usb',
>                                                kbd_type="keyboard",
>                                                mouse_bus='usb', tablet_bus='usb',
> -                                             memory=1280)}}
> +                                             memory=2048)}}
>
>
>   modern_version_bases = {'x86': {'debian': '6.0', 'ubuntu': '7.10',




More information about the Kimchi-devel mailing list