]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libvirt.h.in: Add new cpumap macro VIR_CPU_USED
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Tue, 16 Oct 2012 14:05:12 +0000 (16:05 +0200)
committerEric Blake <eblake@redhat.com>
Wed, 24 Oct 2012 00:48:04 +0000 (18:48 -0600)
commitd39291d4c016aa1dfeacca083a7fc31d1e4c976d
tree6079e18b168594bc313cd6f2e699f0bc1a9c67c3
parentd804d35facb7462bd462e936dc9aa1e0becf0933
libvirt.h.in: Add new cpumap macro VIR_CPU_USED

New macro VIR_CPU_USED added to facilitate the interpretation of
cpu maps.
Further, hardened the other cpumap macros against invocations
like VIR_CPU_USE(cpumap + 1, cpu)

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
include/libvirt/libvirt.h.in