Re: [PATCH RFC 8/9] KVM: Add dirty-ring-size property

2020-03-26 Thread Peter Xu
On Thu, Mar 26, 2020 at 01:41:44PM +, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > On Wed, Mar 25, 2020 at 08:00:31PM +, Dr. David Alan Gilbert wrote: > > > > @@ -2077,6 +2079,33 @@ static int kvm_init(MachineState *ms) > > > >

Re: [PATCH RFC 8/9] KVM: Add dirty-ring-size property

2020-03-26 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > On Wed, Mar 25, 2020 at 08:00:31PM +, Dr. David Alan Gilbert wrote: > > > @@ -2077,6 +2079,33 @@ static int kvm_init(MachineState *ms) > > > s->memory_listener.listener.coalesced_io_add = > > > kvm_coalesce_mmio_region; > > >

Re: [PATCH RFC 8/9] KVM: Add dirty-ring-size property

2020-03-25 Thread Peter Xu
On Wed, Mar 25, 2020 at 08:14:03PM +, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > Add a parameter for size of dirty ring. If zero, dirty ring is > > disabled. Otherwise dirty ring will be enabled with the per-vcpu size > > as specified. If dirty ring cannot be

Re: [PATCH RFC 8/9] KVM: Add dirty-ring-size property

2020-03-25 Thread Peter Xu
On Wed, Mar 25, 2020 at 08:00:31PM +, Dr. David Alan Gilbert wrote: > > @@ -2077,6 +2079,33 @@ static int kvm_init(MachineState *ms) > > s->memory_listener.listener.coalesced_io_add = > > kvm_coalesce_mmio_region; > > s->memory_listener.listener.coalesced_io_del = > >

Re: [PATCH RFC 8/9] KVM: Add dirty-ring-size property

2020-03-25 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Add a parameter for size of dirty ring. If zero, dirty ring is > disabled. Otherwise dirty ring will be enabled with the per-vcpu size > as specified. If dirty ring cannot be enabled due to unsupported > kernel, it'll fallback to dirty logging. By

Re: [PATCH RFC 8/9] KVM: Add dirty-ring-size property

2020-03-25 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Add a parameter for size of dirty ring. If zero, dirty ring is > disabled. Otherwise dirty ring will be enabled with the per-vcpu size > as specified. If dirty ring cannot be enabled due to unsupported > kernel, it'll fallback to dirty logging. By

[PATCH RFC 8/9] KVM: Add dirty-ring-size property

2020-02-05 Thread Peter Xu
Add a parameter for size of dirty ring. If zero, dirty ring is disabled. Otherwise dirty ring will be enabled with the per-vcpu size as specified. If dirty ring cannot be enabled due to unsupported kernel, it'll fallback to dirty logging. By default, dirty ring is not enabled