• E
    daemon: use safer memory growth macros · e6b68d74
    Eric Blake 提交于
    * daemon/libvirtd.h (qemud_server): Change types of members
    tracking array sizes, and add allocation trackers.
    * daemon/event.c (virEventLoop): Likewise.
    (virEventAddHandleImpl, virEventAddTimeoutImpl)
    (virEventCleanupTimeouts, virEventCleanupHandles): Use
    VIR_RESIZE_N instead of VIR_REALLOC_N.  Tweak debug messages to
    match type changes.
    * daemon/libvirtd.c (qemudDispatchServer, qemudRunLoop): Likewise.
    e6b68d74
libvirtd.h 8.4 KB