On Tue, Aug 16 2022, Emanuele Giuseppe Esposito <eesposit@xxxxxxxxxx> wrote: > Instead of sending a single ioctl every time ->region_* or ->log_* > callbacks are called, "queue" all memory regions in a list that will > be emptied only when committing. > > This allow the KVM kernel API to be extended and support multiple > memslots updates in a single call. > > Signed-off-by: Emanuele Giuseppe Esposito <eesposit@xxxxxxxxxx> > --- > accel/kvm/kvm-all.c | 99 ++++++++++++++++++++++++++++----------- > include/sysemu/kvm_int.h | 6 +++ > linux-headers/linux/kvm.h | 9 ++++ Meta comment: Please split out any linux-headers changes into a [dummy, if not yet accepted in the kernel] headers update patch. > 3 files changed, 87 insertions(+), 27 deletions(-)