Re: [PATCH 2/4] KVM: Define KVM_MEMSLOTS_NUM_MAX_DEFAULT

2024-09-04 Thread Peter Xu
On Wed, Sep 04, 2024 at 10:39:19PM +0200, David Hildenbrand wrote: > On 04.09.24 21:16, Peter Xu wrote: > > Make the default max nr_slots a macro, it's only used when KVM reports > > nothing. Then we put all the rest macros together later soon. > > > > Signed-off-by: Peter Xu > > --- > > accel

Re: [PATCH 2/4] KVM: Define KVM_MEMSLOTS_NUM_MAX_DEFAULT

2024-09-04 Thread David Hildenbrand
On 04.09.24 21:16, Peter Xu wrote: Make the default max nr_slots a macro, it's only used when KVM reports nothing. Then we put all the rest macros together later soon. Signed-off-by: Peter Xu --- accel/kvm/kvm-all.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/acc

[PATCH 2/4] KVM: Define KVM_MEMSLOTS_NUM_MAX_DEFAULT

2024-09-04 Thread Peter Xu
Make the default max nr_slots a macro, it's only used when KVM reports nothing. Then we put all the rest macros together later soon. Signed-off-by: Peter Xu --- accel/kvm/kvm-all.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c