aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2024-09-17 12:38:34 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2024-10-17 19:41:30 +0200
commitdbdc00ba5b136bba80d850f61cc79a9cafaae1cd (patch)
tree6dbc6f98e48f1bc4d999cb9acc2b56137766c530 /include
parentb34a908c8f24eedb0a8e5ff486b059b58fd793f4 (diff)
downloadqemu-dbdc00ba5b136bba80d850f61cc79a9cafaae1cd.zip
qemu-dbdc00ba5b136bba80d850f61cc79a9cafaae1cd.tar.gz
qemu-dbdc00ba5b136bba80d850f61cc79a9cafaae1cd.tar.bz2
KVM: Rename KVMMemoryListener.nr_used_slots to nr_slots_used
This will make all nr_slots counters to be named in the same manner. Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Link: https://lore.kernel.org/r/20240917163835.194664-4-peterx@redhat.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sysemu/kvm_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sysemu/kvm_int.h b/include/sysemu/kvm_int.h
index 2304537..914c5c9 100644
--- a/include/sysemu/kvm_int.h
+++ b/include/sysemu/kvm_int.h
@@ -45,7 +45,7 @@ typedef struct KVMMemoryUpdate {
typedef struct KVMMemoryListener {
MemoryListener listener;
KVMSlot *slots;
- unsigned int nr_used_slots;
+ unsigned int nr_slots_used;
unsigned int nr_slots_allocated;
int as_id;
QSIMPLEQ_HEAD(, KVMMemoryUpdate) transaction_add;