On Thu, Feb 22, 2007 at 05:55:13AM +0100, Tristan Gingold wrote:
add_window(), which registers io region and memory region,
calls ioremap with ACPI_IO_RANGE regions, but it doesn't
with ACPI_MEMORY_RANGE regions.
If the ioremap hypercall is called with ACPI_MEMORY_RANGE regions,
all pci devices are free from such paravirtualization.
Especially we can get rid of /dev/mem and pci mmap
paravirtualization to use X.
Would be nice, but isn't the ACPI_MEMORY_RANGE very large on some machine ?
Yes.
So I wondered what kind of devices had such large area.
Presumably we don't want to map pci bridge which may be large
so that we need to detect it somehow in add_window().
Pci root bridge or pci-to-pci bridges ?
Yes.