diff options
author | Boqun Feng | 2022-03-25 10:32:11 +0800 |
---|---|---|
committer | Wei Liu | 2022-04-06 13:15:06 +0000 |
commit | b3d6dd09ff00fdcf4f7c0cb54700ffd5dd343502 (patch) | |
tree | cd587a0321cce431ab9e48eafea65beaa93b26a5 /init | |
parent | b6cae15b5710c8097aad26a2e5e752c323ee5348 (diff) |
Drivers: hv: balloon: Support status report for larger page sizes
DM_STATUS_REPORT expects the numbers of pages in the unit of 4k pages
(HV_HYP_PAGE) instead of guest pages, so to make it work when guest page
sizes are larger than 4k, convert the numbers of guest pages into the
numbers of HV_HYP_PAGEs.
Note that the numbers of guest pages are still used for tracing because
tracing is internal to the guest kernel.
Reported-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20220325023212.1570049-2-boqun.feng@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions