Re: [Qemu-devel] [PATCH 0/2] Remove memory_region_set_offset()

2012-01-09 Thread Avi Kivity
On 01/08/2012 08:59 PM, Andreas Färber wrote: > Am 08.01.2012 18:57, schrieb Avi Kivity: > > memory_region_set_offset() is used in only one place, and is deprecated. > > Remove the single use and the function itself. > > Does the removal of the offset mean that memory_region_find() can be > simplif

Re: [Qemu-devel] [PATCH 0/2] Remove memory_region_set_offset()

2012-01-08 Thread Andreas Färber
Am 08.01.2012 18:57, schrieb Avi Kivity: > memory_region_set_offset() is used in only one place, and is deprecated. > Remove the single use and the function itself. Does the removal of the offset mean that memory_region_find() can be simplified to just return a MemoryRegion* now? :) Andreas --

[Qemu-devel] [PATCH 0/2] Remove memory_region_set_offset()

2012-01-08 Thread Avi Kivity
memory_region_set_offset() is used in only one place, and is deprecated. Remove the single use and the function itself. Avi Kivity (2): ioport: change portio_list not to use memory_region_set_offset() memory: remove memory_region_set_offset() ioport.c | 25 +++-- ioport