[SeaBIOS] [PATCH v3 25/25] virtio-pci: use high memory for rings
Gerd Hoffmann
kraxel at redhat.com
Wed Jul 1 16:41:10 CEST 2015
That way we should be able to manage *alot* more devices.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
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
More information about the SeaBIOS
mailing list