lkml.org 
[lkml]   [2020]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v13 06/14] KVM: Make dirty ring exclusive to dirty bitmap log
From
Date
On 01/10/20 03:22, Peter Xu wrote:
>
> + /* Dirty ring tracking is exclusive to dirty log tracking */
> + if (kvm->dirty_ring_size)
> + return -EINVAL;
> +

ENXIO is slightly more appropriate (especially for debugging, as EINVAL
suggests that the arguments were wrong and not some external state).

Paolo

\
 
 \ /
  Last update: 2020-11-06 12:01    [W:0.090 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site