Re: hooks mechanism - possible source code bug

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

 



On 05/28/2010 05:33 AM, Paolo Smiraglia wrote:
> I'm working on hooks mechanism. When I try to add some field in enum
> 
>     virHookQemuOp
> 
> make command return me error
> 
>     $ util/hooks.c:***: error: negative width in bit-field
> 'verify_error_if_negative_size__'
> 
> I think the error is caused by a little programming error in
> 
>    /src/util/hooks.c:74
> 
> where the struct virHookLxcOp is allocated by macro VIR_ENUM_IMPL with
> dimension VIR_HOOK_QEMU_OP_LAST and not with VIR_HOOK_LXC_OP_LAST.

Good catch.  ACK, and pushed in your name.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]