Skip to content
Commit ee661d8e authored by David Matlack's avatar David Matlack Committed by Sean Christopherson
Browse files

KVM: x86: Replace cpu_dirty_logging_count with nr_memslots_dirty_logging



Drop cpu_dirty_logging_count in favor of nr_memslots_dirty_logging.
Both fields count the number of memslots that have dirty-logging enabled,
with the only difference being that cpu_dirty_logging_count is only
incremented when using PML. So while nr_memslots_dirty_logging is not a
direct replacement for cpu_dirty_logging_count, it can be combined with
enable_pml to get the same information.

Signed-off-by: default avatarDavid Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20230105214303.2919415-1-dmatlack@google.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent 6213b701
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment