qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 06/22] memory: dispatch unassigned accesses base


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 06/22] memory: dispatch unassigned accesses based on .valid.accepts
Date: Tue, 16 Jul 2013 13:38:18 +0100

On 16 July 2013 13:33, Paolo Bonzini <address@hidden> wrote:
> Il 16/07/2013 14:28, Jan Kiszka ha scritto:
>> This changed the value read from unassigned memory from -1 to 0. Any
>> particular reason or an unintentional change?
>
> Cut-and-paste (unassigned RAM used to return 0, invalid MMIO used to
> return -1, unifying the paths dropped the difference).
>
> I guess unassigned RAM can read as -1 just fine, so we can just change
> unassigned_mem_read to return -1.

Behaviour for accesses to unassigned addresses should really
be both bus and CPU specific...

thanks
-- PMM



reply via email to

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