|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [PATCH] memory: simple memory tree printer |
Date: | Thu, 15 Sep 2011 14:21:35 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 |
On 09/15/2011 01:18 PM, Jan Kiszka wrote:
On 2011-09-15 11:53, Avi Kivity wrote: >>> The host pci bridge remaps this as >>> 0x1000000105-0x1000000106 in the memory address space space. But >>> someone configured a cpu-local region at this address, so the cpu can't >>> reach it at all. >> >> Mapping PIO into MMIO space is special as it needs an intermediate layer >> (ie. translation handlers). > > Translation handlers aren't needed - you can simply add the pci pio > region as a subregion of the mmio space. From the outer perspective. But internally, there is still memory_region_iorange_read/write.
These will go away.
The point is that no use case actually justifies memory_region_set_offset.
It's just a compatibility interface. When everything is converted, and no users remain, we'll remove it.
-- error compiling committee.c: too many arguments to function
[Prev in Thread] | Current Thread | [Next in Thread] |