Re: [PATCH 2/8] virDomainBlockPull: Implement the main entry points

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 06/14/2011 04:49 AM, Daniel P. Berrange wrote:
> On Thu, Jun 09, 2011 at 12:10:08PM -0500, Adam Litke wrote:
>> +    if (flags != 0) {
>> +        virLibDomainError(VIR_ERR_INVALID_ARG,
>> +                           _("flags must be zero"));
>> +        goto error;
>> +    }
> 
> We don't want to check 'flags' in this place, because you could be
> a client app talking to a libvirt daemon which *does* support some
> flag values. Instead just have a 'virCheckFlags(0, -1)' in the
> QEMU driver impls. Same comment applies to all the other APIs in
> this patch

Yep, makes sense and changed in the next version.



-- 
Adam Litke
IBM Linux Technology Center

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]