Re: [Qemu-devel] [PATCH 06/22] memory: dispatch unassigned accesses based on .valid.accepts

2013-07-16 Thread Jan Kiszka
On 2013-05-30 23:03, Paolo Bonzini wrote: This provides the basics for detecting accesses to unassigned memory as soon as they happen, and also for a simple implementation of address_space_access_valid. Reviewed-by: Richard Henderson r...@twiddle.net Signed-off-by: Paolo Bonzini

Re: [Qemu-devel] [PATCH 06/22] memory: dispatch unassigned accesses based on .valid.accepts

2013-07-16 Thread Paolo Bonzini
Il 16/07/2013 14:28, Jan Kiszka ha scritto: On 2013-05-30 23:03, Paolo Bonzini wrote: This provides the basics for detecting accesses to unassigned memory as soon as they happen, and also for a simple implementation of address_space_access_valid. Reviewed-by: Richard Henderson

Re: [Qemu-devel] [PATCH 06/22] memory: dispatch unassigned accesses based on .valid.accepts

2013-07-16 Thread Peter Maydell
On 16 July 2013 13:33, Paolo Bonzini pbonz...@redhat.com 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

Re: [Qemu-devel] [PATCH 06/22] memory: dispatch unassigned accesses based on .valid.accepts

2013-07-16 Thread Jan Kiszka
On 2013-07-16 14:38, Peter Maydell wrote: On 16 July 2013 13:33, Paolo Bonzini pbonz...@redhat.com 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

Re: [Qemu-devel] [PATCH 06/22] memory: dispatch unassigned accesses based on .valid.accepts

2013-06-03 Thread Paolo Bonzini
Il 01/06/2013 17:28, Blue Swirl ha scritto: This means that memory.c is getting knowledge about CPU types and it becomes more specific to current target. I think memory.c should be generic and target agnostic (maybe one day compiled just once) with exec.c implementing the target specific

Re: [Qemu-devel] [PATCH 06/22] memory: dispatch unassigned accesses based on .valid.accepts

2013-06-03 Thread Andreas Färber
Am 03.06.2013 09:31, schrieb Paolo Bonzini: Il 01/06/2013 17:28, Blue Swirl ha scritto: This means that memory.c is getting knowledge about CPU types and it becomes more specific to current target. I think memory.c should be generic and target agnostic (maybe one day compiled just once) with

Re: [Qemu-devel] [PATCH 06/22] memory: dispatch unassigned accesses based on .valid.accepts

2013-06-01 Thread Blue Swirl
On Thu, May 30, 2013 at 9:03 PM, Paolo Bonzini pbonz...@redhat.com wrote: This provides the basics for detecting accesses to unassigned memory as soon as they happen, and also for a simple implementation of address_space_access_valid. Reviewed-by: Richard Henderson r...@twiddle.net

[Qemu-devel] [PATCH 06/22] memory: dispatch unassigned accesses based on .valid.accepts

2013-05-30 Thread Paolo Bonzini
This provides the basics for detecting accesses to unassigned memory as soon as they happen, and also for a simple implementation of address_space_access_valid. Reviewed-by: Richard Henderson r...@twiddle.net Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- exec.c | 36

[Qemu-devel] [PATCH 06/22] memory: dispatch unassigned accesses based on .valid.accepts

2013-05-24 Thread Paolo Bonzini
This provides the basics for detecting accesses to unassigned memory as soon as they happen, and also for a simple implementation of address_space_access_valid. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- exec.c | 36 memory.c | 28