Re: [PATCH 1/4] KVM: Rename KVMState->nr_slots to nr_slots_max

2024-09-04 Thread David Hildenbrand
On 04.09.24 21:16, Peter Xu wrote: This value used to reflect the maximum supported memslots from KVM kernel. Rename it to be clearer, preparing for dynamic sized memslot allocations. Well, it matches "KVM_CAP_NR_MEMSLOTS" :) Reviewed-by: David Hildenbrand -for (i = 0; i < s->nr_slots;

[PATCH 1/4] KVM: Rename KVMState->nr_slots to nr_slots_max

2024-09-04 Thread Peter Xu
This value used to reflect the maximum supported memslots from KVM kernel. Rename it to be clearer, preparing for dynamic sized memslot allocations. Signed-off-by: Peter Xu --- include/sysemu/kvm_int.h | 4 ++-- accel/kvm/kvm-all.c | 26 +- 2 files changed, 15 inser