qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] pc: allow raising low memory via max-ram-bel


From: Eduardo Habkost
Subject: Re: [Qemu-devel] [PATCH v2] pc: allow raising low memory via max-ram-below-4g option
Date: Wed, 20 Jan 2016 15:15:04 -0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, Jan 20, 2016 at 01:34:29PM -0200, Eduardo Habkost wrote:
[...]
> Considering that we never supported
>   gigabyte_align && max_ram_below_4g > 3G ||
>   max_ram_below_4g > 3.5G
> before, we could simply remove the MachineClass::gigabyte_align
> field from pc_piix, and just do the following:
> 
> * pc > 1.7: max_ram_below_4g = 3G
>   (equivalent to gigabyte_align=true)
> * pc <= 1.7: max_ram_below_4g = 3.5G
>   (equivalent to gigabyte_align=false)

Ignore the suggestion above. I forgot that gigabyte_align applies
only if ram_size > 3.5GB (so setting max_ram_below_4g = 3G on
pc > 1.7 wouldn't work). So, unless somebody has a suggestion
that makes this logic simpler:

Reviewed-by: Eduardo Habkost <address@hidden>

-- 
Eduardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]