[Kimchi-devel] [PATCH] [Kimchi] Fixed Memory and Max Memory values when adding a new Guest

Socorro Stoppler socorro at linux.vnet.ibm.com
Wed Mar 9 22:24:11 UTC 2016


Reviewed-by: Socorro Stoppler <socorro at linux.vnet.ibm.com>
Tested-by: Socorro Stoppler <socorro at linux.vnet.ibm.com>

Question:  should CPU be also shown the same way?

On 03/09/2016 01:55 PM, sguimaraes943 at gmail.com wrote:
> From: Samuel Guimarães <sguimaraes943 at gmail.com>
>
> Signed-off-by: Samuel Guimarães <sguimaraes943 at gmail.com>
> ---
>   ui/pages/guest-add.html.tmpl | 8 +++++---
>   1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/ui/pages/guest-add.html.tmpl b/ui/pages/guest-add.html.tmpl
> index a531af2..57f187e 100644
> --- a/ui/pages/guest-add.html.tmpl
> +++ b/ui/pages/guest-add.html.tmpl
> @@ -59,13 +59,15 @@
>                                                       <h3 class="iso-title {os_distro}" title="{name}">{name}</h3>
>                                                           <dl class="iso-info">
>                                                               <dt>{os_distro}</dt>
> -                                                            <dd>$_("OS: ")</dd>
> +                                                            <dd>$_("OS")</dd>
>                                                               <dt>{os_version}</dt>
> -                                                            <dd>$_("Version: ")</dd>
> +                                                            <dd>$_("Version")</dd>
>                                                               <dt>{cpus}</dt>
>                                                               <dd>$_("CPUS")</dd>
> -                                                            <dt>{memory}M</dt>
> +                                                            <dt>{memory.current}M</dt>
>                                                               <dd>$_("Memory")</dd>
> +                                                            <dt>{memory.maxmemory}M</dt>
> +                                                            <dd>$_("Max Memory")</dd>
>                                                           </dl>
>                                                   </span>
>                                               </span>




More information about the Kimchi-devel mailing list