From: Gerd Hoffmann Date: Wed, 1 Jul 2015 12:39:30 +0000 (+0200) Subject: virtio-pci: use high memory for rings X-Git-Tag: rel-1.9.0~113 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6cfebb4eb13411783b52804999ed6f748e4ad013;p=seabios.git virtio-pci: use high memory for rings That way we should be able to manage *alot* more devices. Signed-off-by: Gerd Hoffmann --- 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;