Skip to content

Commit 2c3bd2a

Browse files
olafheringliuw
authored andcommitted
hv_balloon: disable warning when floor reached
It is not an error if the host requests to balloon down, but the VM refuses to do so. Without this change a warning is logged in dmesg every five minutes. Fixes: b3bb97b ("Drivers: hv: balloon: Add logging for dynamic memory operations") Signed-off-by: Olaf Hering <olaf@aepfle.de> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Link: https://lore.kernel.org/r/20201008071216.16554-1-olaf@aepfle.de Signed-off-by: Wei Liu <wei.liu@kernel.org>
1 parent bbf5c97 commit 2c3bd2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hv/hv_balloon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,7 @@ static void balloon_up(struct work_struct *dummy)
12751275

12761276
/* Refuse to balloon below the floor. */
12771277
if (avail_pages < num_pages || avail_pages - num_pages < floor) {
1278-
pr_warn("Balloon request will be partially fulfilled. %s\n",
1278+
pr_info("Balloon request will be partially fulfilled. %s\n",
12791279
avail_pages < num_pages ? "Not enough memory." :
12801280
"Balloon floor reached.");
12811281

0 commit comments

Comments
 (0)