qemu-e2k/hw/virtio
Natanael Copa 747eb78baa vhost: replace ffsl with ctzl
Avoid using the GNU extesion ffsl which is not implemented in musl libc.

The atomic_xchg() means we know that vhost_log_chunk_t will never be
larger than the 'long' type, so ctzl() is always sufficient.

See also commit fbeadf50 (bitops: unify bitops_ffsl with the one in
host-utils.h, call it bitops_ctzl) on why ctzl should be used instead
of ffsl.

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2014-06-11 00:25:06 +01:00
..
dataplane dataplane: fix shadowed return value 2014-01-22 13:48:18 +01:00
Makefile.objs
vhost.c vhost: replace ffsl with ctzl 2014-06-11 00:25:06 +01:00
virtio-balloon.c virtio-balloon: return empty data when no stats are available 2014-05-25 12:46:58 +03:00
virtio-bus.c
virtio-mmio.c
virtio-pci.c qom: Add check() argument to object_property_add_link() 2014-03-19 22:23:13 +01:00
virtio-pci.h
virtio-rng.c virtio-rng: Avoid default_backend refcount leak 2014-03-19 22:23:47 +01:00
virtio.c virtio.c: fix error message 2014-06-10 20:07:01 +04:00