On 3 March 2013 06:13, Peter Crosthwaite wrote:
> Useful for heavy users of qemu_log_mask that want to avoid executing expensive
> logic that sets up a qemu_log_mask when that mask is disabled. E.G.
>
> if (qemu_log_get_mask() && LOG_GUEST_ERROR) {
> /* do my expensive logging data query *
Useful for heavy users of qemu_log_mask that want to avoid executing expensive
logic that sets up a qemu_log_mask when that mask is disabled. E.G.
if (qemu_log_get_mask() && LOG_GUEST_ERROR) {
/* do my expensive logging data query */
}
qemu_log_mask(LOG_GUEST_ERROR, ...)
Signed-off-by: Pe