[libvirt] hooks mechanism - possible source code bug
Eric Blake
eblake at redhat.com
Fri May 28 12:58:38 UTC 2010
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 at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100528/a33c9424/attachment-0001.sig>
More information about the libvir-list
mailing list