From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAJMl-0000Dq-KH for qemu-devel@nongnu.org; Wed, 01 Jul 2015 10:52:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAJMf-0002Wh-Ow for qemu-devel@nongnu.org; Wed, 01 Jul 2015 10:51:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAJMf-0002WZ-JI for qemu-devel@nongnu.org; Wed, 01 Jul 2015 10:51:53 -0400 From: Gerd Hoffmann Date: Wed, 1 Jul 2015 16:41:10 +0200 Message-Id: <1435761670-19520-26-git-send-email-kraxel@redhat.com> In-Reply-To: <1435761670-19520-1-git-send-email-kraxel@redhat.com> References: <1435761670-19520-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH v3 25/25] virtio-pci: use high memory for rings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: seabios@seabios.org Cc: Gerd Hoffmann , qemu-devel@nongnu.org, "Michael S. Tsirkin" That way we should be able to manage *alot* more devices. Signed-off-by: Gerd Hoffmann --- src/hw/virtio-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.8.3.1