Re: [Qemu-devel] [PATCH v4 08/11] kvm: Persistent per kvmslot dirty bitmap

2019-06-03 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > When synchronizing dirty bitmap from kernel KVM we do it in a > per-kvmslot fashion and we allocate the userspace bitmap for each of > the ioctl. This patch instead make the bitmap cache be persistent > then we don't need to g_malloc0() every time. > > More

[Qemu-devel] [PATCH v4 08/11] kvm: Persistent per kvmslot dirty bitmap

2019-06-02 Thread Peter Xu
When synchronizing dirty bitmap from kernel KVM we do it in a per-kvmslot fashion and we allocate the userspace bitmap for each of the ioctl. This patch instead make the bitmap cache be persistent then we don't need to g_malloc0() every time. More importantly, the cached per-kvmslot dirty bitmap