Re: [Qemu-devel] MemoryRegionOps' {min,max}_access_size fields

2015-04-13 Thread Jan Beulich
>>> On 30.03.15 at 11:49, wrote: > On 27/03/2015 17:21, Jan Beulich wrote: >> And then the way access_with_adjusted_size() works, it looks to >> me as if with .impl.min_access_size set to greater than 1 >> unaligned accesses could still reach the actual read or write >> handler, as only the access

Re: [Qemu-devel] MemoryRegionOps' {min,max}_access_size fields

2015-03-30 Thread Paolo Bonzini
On 27/03/2015 17:21, Jan Beulich wrote: > Hello, > > I'm trying to understand what the idea behind these is. For one, > without .valid.accepts set I can't see the two respective .valid > fields take effect at all. Yet all examples I looked at don't set > .valid.accepts. What's the deal here? Th

[Qemu-devel] MemoryRegionOps' {min,max}_access_size fields

2015-03-27 Thread Jan Beulich
Hello, I'm trying to understand what the idea behind these is. For one, without .valid.accepts set I can't see the two respective .valid fields take effect at all. Yet all examples I looked at don't set .valid.accepts. What's the deal here? And then the way access_with_adjusted_size() works, it l