qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Incomplete address decoding


From: Peter Maydell
Subject: Re: [Qemu-devel] Incomplete address decoding
Date: Thu, 6 Aug 2015 23:24:36 +0100

On 6 August 2015 at 23:07, Pavel Dovgalyuk <address@hidden> wrote:
> Hello!
>
> What is the best way of emulating memory region with incomplete decoding of
> address?
> E.g., when 2k RAM is mapped on every 2k'th offset of 16-bit machine.
>
> I figured out two possible solutions:
> - manually create many region's aliases
> - somehow modify the MemoryRegion to support aliases duplicating
>
> Is there another way?

So far we've used two approaches for this kind of thing:
 (1) manually create aliases and map them into a container
 (2) ignore the problem since guests in practice don't try
     to use the mirrored parts of the region

If neither of these seem palatable I don't think there's a
problem in principle in providing better support for this
somehow; it's fairly common.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]