diff options
author | Peter Xu <peterx@redhat.com> | 2024-09-17 12:38:35 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-17 19:41:30 +0200 |
commit | 943c742868c739c0b14fd996bad3adf744156fec (patch) | |
tree | 91bb8dd523398dc1f05cd6545ef2703678d9cde4 /include | |
parent | dbdc00ba5b136bba80d850f61cc79a9cafaae1cd (diff) | |
download | qemu-943c742868c739c0b14fd996bad3adf744156fec.zip qemu-943c742868c739c0b14fd996bad3adf744156fec.tar.gz qemu-943c742868c739c0b14fd996bad3adf744156fec.tar.bz2 |
KVM: Rename KVMState->nr_slots to nr_slots_max
This value used to reflect the maximum supported memslots from KVM kernel.
Rename it to be clearer.
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/20240917163835.194664-5-peterx@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sysemu/kvm_int.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sysemu/kvm_int.h b/include/sysemu/kvm_int.h index 914c5c9..a1e7276 100644 --- a/include/sysemu/kvm_int.h +++ b/include/sysemu/kvm_int.h @@ -103,8 +103,8 @@ struct KVMDirtyRingReaper { struct KVMState { AccelState parent_obj; - - int nr_slots; + /* Max number of KVM slots supported */ + int nr_slots_max; int fd; int vmfd; int coalesced_mmio; |