KVM_DIRTY_RING_MAX_ENTRIES
return KVM_DIRTY_RING_MAX_ENTRIES * sizeof(struct kvm_dirty_gfn);
if (size > KVM_DIRTY_RING_MAX_ENTRIES *