Skip to content
Commit d180e0a1 authored by Alexander Atanasov's avatar Alexander Atanasov Committed by Wei Liu
Browse files

Drivers: hv: Create debugfs file with hyper-v balloon usage information



Allow the guest to know how much it is ballooned by the host.
It is useful when debugging out of memory conditions.

When host gets back memory from the guest it is accounted
as used memory in the guest but the guest have no way to know
how much it is actually ballooned.

Expose current state, flags and max possible memory to the guest.
While at it - fix a 10+ years old typo.

Signed-off-by: default avatarAlexander Atanasov <alexander.atanasov@virtuozzo.com>
Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20220711181825.52318-1-alexander.atanasov@virtuozzo.com
Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
parent bf28462e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment