Am 23.03.2015 um 15:39 schrieb Paolo Bonzini: > On 23/03/2015 13:24, Peter Maydell wrote: >> The point of indicating failure via MemTxResult is that at >> some point we need to correct the current broken handling of >> the CPUClass do_unassigned_access hook, because that should >> only be invoked if the CPU itself does an access to an unassigned >> address, not if some random DMA'ing device does! > > 100% agreement on this.
Just to clarify, CPUClass::do_unassigned_access() was a simple refactoring towards multi-target builds (~two inline functions remain). If you rather need it on MemoryRegion level or somewhere else, feel free to post patches, just please keep the original goal in mind. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton; HRB 21284 (AG Nürnberg)