[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] virtio_mmio address mapping
From: |
Dean |
Subject: |
[Qemu-devel] virtio_mmio address mapping |
Date: |
Mon, 30 May 2016 20:24:59 +0800 |
hi,all,
I am writing a UIO linux driver for a virtio_mmio device and find out that all
those virtio_mmio devices' registers are arrange in one single 4K aligned page.
which makes writing an UIO driver hard since linux doesn't allow UIO driver to
map a register space smaller than page size.
would you consider divide them into defferent pages?
what I am talking about is devices like:
a003000.virtio_mmio
a003c00.virtio_mmio
a003e00.virtio_mmio
what I am dealing with is a003e00.virtio_mmio
Dean
- [Qemu-devel] virtio_mmio address mapping,
Dean <=