Message ID | 1435761670-19520-26-git-send-email-kraxel@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/src/hw/virtio-pci.c b/src/hw/virtio-pci.c index 8e7ea46..6df5194 100644 --- a/src/hw/virtio-pci.c +++ b/src/hw/virtio-pci.c @@ -121,7 +121,7 @@ int vp_find_vq(struct vp_device *vp, int queue_index, u16 num; ASSERT32FLAT(); - struct vring_virtqueue *vq = *p_vq = memalign_low(PAGE_SIZE, sizeof(*vq)); + struct vring_virtqueue *vq = *p_vq = memalign_high(PAGE_SIZE, sizeof(*vq)); if (!vq) { warn_noalloc(); goto fail;
That way we should be able to manage *alot* more devices. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> --- src/hw/virtio-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)