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/sysemu/kvm_int.h | |
| parent | dbdc00ba5b136bba80d850f61cc79a9cafaae1cd (diff) | |
| download | focaccia-qemu-943c742868c739c0b14fd996bad3adf744156fec.tar.gz focaccia-qemu-943c742868c739c0b14fd996bad3adf744156fec.zip | |
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 '')
| -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 914c5c9ec5..a1e72763da 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; |