xemu/hw/virtio
Peter Maydell 1d0148fe6c hw/virtio/virtio-pci: Use pow2ceil() rather than hand-calculation
Use the utility function pow2ceil() for rounding up to the next
largest power of 2, rather than inline calculation.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 1437741192-20955-3-git-send-email-peter.maydell@linaro.org
2015-09-07 14:19:00 +01:00
..
dataplane Revert "dataplane: allow virtio-1 devices" 2015-07-07 11:21:37 +03:00
Makefile.objs dataplane: endianness-aware accesses 2015-02-16 15:07:16 +00:00
vhost-backend.c vhost: Remove superfluous '\n' around error_report() 2015-03-10 08:15:33 +03:00
vhost-user.c Revert "vhost-user: add multi queue support" 2015-07-20 14:19:40 +03:00
vhost.c vhost: correctly pass error to caller in vhost_dev_enable_notifiers() 2015-06-23 17:08:21 +02:00
virtio-balloon.c virtio: get_features() can fail 2015-07-27 18:11:53 +03:00
virtio-bus.c virtio: get_features() can fail 2015-07-27 18:11:53 +03:00
virtio-mmio.c virtio: allow virtio-1 queue layout 2015-06-10 18:15:04 +02:00
virtio-pci.c hw/virtio/virtio-pci: Use pow2ceil() rather than hand-calculation 2015-09-07 14:19:00 +01:00
virtio-pci.h virtio-pci: implement cfg capability 2015-07-08 10:09:57 +03:00
virtio-rng.c virtio: get_features() can fail 2015-07-27 18:11:53 +03:00
virtio.c virtio: fix 1.0 virtqueue migration 2015-08-05 16:56:34 +03:00