lkml.org 
[lkml]   [2018]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] xen/balloon: fix balloon initialization for PVH Dom0
From
Date
On 08/08/2018 07:46 AM, Roger Pau Monne wrote:
> The current balloon code tries to calculate a delta factor for the
> balloon target when running in HVM mode in order to account for memory
> used by the firmware.
>
> This workaround for memory accounting doesn't work properly on a PVH
> Dom0, that has a static-max value different from the target value even
> at startup. Note that this is not a problem for DomUs because guests are
> started with a static-max value that matches the amount of RAM in the
> memory map.
>
> Fix this by forcefully setting target_diff for Dom0, regardless of
> it's mode.
>
> Reported-by: Gabriel Bercarug <bercarug@amazon.com>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
>


Applied to for-linus-4.19

-boris

\
 
 \ /
  Last update: 2018-08-08 19:32    [W:0.050 / U:10.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site