-
Gavin Shan authored
Due to multiple capabilities associated with the dirty ring for different architectures: KVM_CAP_DIRTY_{LOG_RING, LOG_RING_ACQ_REL} for x86 and arm64 separately. There will be more to be done in order to support the dirty ring for arm64. Lets add helper kvm_dirty_ring_init() to enable the dirty ring. With this, the code looks a bit clean. No functional change intended. Signed-off-by:
Gavin Shan <gshan@redhat.com>
Reviewed-by:
Peter Xu <peterx@redhat.com>
Tested-by:
Zhenyu Zhang <zhenyzha@redhat.com>
Message-Id: <20230509022122.20888-4-gshan@redhat.com>
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>Gavin Shan authoredDue to multiple capabilities associated with the dirty ring for different architectures: KVM_CAP_DIRTY_{LOG_RING, LOG_RING_ACQ_REL} for x86 and arm64 separately. There will be more to be done in order to support the dirty ring for arm64. Lets add helper kvm_dirty_ring_init() to enable the dirty ring. With this, the code looks a bit clean. No functional change intended. Signed-off-by:
Gavin Shan <gshan@redhat.com>
Reviewed-by:
Peter Xu <peterx@redhat.com>
Tested-by:
Zhenyu Zhang <zhenyzha@redhat.com>
Message-Id: <20230509022122.20888-4-gshan@redhat.com>
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Loading