qemu-e2k/include/qemu
Peter Lieven ac3a872664 util: introduce MIN_NON_ZERO
at least in block layer we have the case of limits being defined for a
BlockDriverState. However, in this context often zero (0) has the special
meanining of undefined which means no limit. If two of those limits are
combined and the minimum is needed the minimum function should only return
zero if both parameters are zero.

Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-11-03 09:48:41 +00:00
..
acl.h
aes.h include/qemu/aes.h: Avoid conflicts with FreeBSD AES functions 2014-06-19 16:13:38 +01:00
atomic.h
bitmap.h util: introduce bitmap_try_new 2014-09-30 13:30:51 +02:00
bitops.h bitops: provide an inline implementation of find_first_bit 2014-06-18 18:10:47 +02:00
bswap.h bswap.h: Rename ldl_p, stl_p, etc to ldl_he_p, stl_he_p, etc 2014-05-24 00:07:29 +04:00
compatfd.h
compiler.h qemu/compiler: Define QEMU_ARTIFICIAL 2014-09-29 14:55:28 -04:00
config-file.h qemu-option: introduce qemu_find_opts_singleton 2014-04-27 13:04:18 +04:00
crc32c.h
envlist.h
error-report.h qemu-error: Add error_vreport() 2014-10-09 15:36:15 +02:00
event_notifier.h
fifo8.h
hbitmap.h
host-utils.h
int128.h int128: Add int128_exts64() 2014-05-30 13:00:28 -06:00
iov.h
log.h
main-loop.h async: aio_context_new(): Handle event_notifier_init failure 2014-09-22 11:39:48 +01:00
module.h
notify.h
option_int.h QemuOpts: change opt->name|str from (const char *) to (char *) 2014-06-16 17:23:20 +08:00
option.h util: Emancipate id_wellformed() from QemuOpts 2014-10-03 10:30:33 +01:00
osdep.h util: introduce MIN_NON_ZERO 2014-11-03 09:48:41 +00:00
queue.h
range.h Introduce signed range. 2014-06-19 18:44:19 +03:00
ratelimit.h
readline.h
rfifolock.h
seqlock.h
sockets.h qemu-sockets: Add error to non-blocking connect handler 2014-10-09 15:36:15 +02:00
thread-posix.h
thread-win32.h
thread.h
throttle.h throttle: add throttle_detach/attach_aio_context() 2014-06-04 09:56:12 +02:00
timer.h cpu-exec: Add sleeping algorithm 2014-08-06 17:53:07 +02:00
tls.h
typedefs.h block: New BlockBackend 2014-10-20 13:41:26 +02:00
uri.h
xattr.h