Re: [Qemu-devel] [PATCH RFC v3 1/2] memory: allow MemoryRegion's priority field to accept negative values

2013-09-09 Thread Michael S. Tsirkin
On Mon, Sep 09, 2013 at 02:48:55PM +0300, Michael S. Tsirkin wrote: > On Mon, Sep 09, 2013 at 12:45:12PM +0100, Peter Maydell wrote: > > On 9 September 2013 12:41, Michael S. Tsirkin wrote: > > > On Mon, Sep 09, 2013 at 02:21:35PM +0300, Marcel Apfelbaum wrote: > > >> Priority is used to make visi

Re: [Qemu-devel] [PATCH RFC v3 1/2] memory: allow MemoryRegion's priority field to accept negative values

2013-09-09 Thread Michael S. Tsirkin
On Mon, Sep 09, 2013 at 12:45:12PM +0100, Peter Maydell wrote: > On 9 September 2013 12:41, Michael S. Tsirkin wrote: > > On Mon, Sep 09, 2013 at 02:21:35PM +0300, Marcel Apfelbaum wrote: > >> Priority is used to make visible some subregions by obscuring > >> the parent MemoryRegion addresses over

Re: [Qemu-devel] [PATCH RFC v3 1/2] memory: allow MemoryRegion's priority field to accept negative values

2013-09-09 Thread Peter Maydell
On 9 September 2013 12:41, Michael S. Tsirkin wrote: > On Mon, Sep 09, 2013 at 02:21:35PM +0300, Marcel Apfelbaum wrote: >> Priority is used to make visible some subregions by obscuring >> the parent MemoryRegion addresses overlapping with the subregion. >> >> By allowing the priority to be negati

Re: [Qemu-devel] [PATCH RFC v3 1/2] memory: allow MemoryRegion's priority field to accept negative values

2013-09-09 Thread Michael S. Tsirkin
On Mon, Sep 09, 2013 at 02:21:35PM +0300, Marcel Apfelbaum wrote: > Priority is used to make visible some subregions by obscuring > the parent MemoryRegion addresses overlapping with the subregion. > > By allowing the priority to be negative the opposite can be done: > Allow a subregion to be visi

[Qemu-devel] [PATCH RFC v3 1/2] memory: allow MemoryRegion's priority field to accept negative values

2013-09-09 Thread Marcel Apfelbaum
Priority is used to make visible some subregions by obscuring the parent MemoryRegion addresses overlapping with the subregion. By allowing the priority to be negative the opposite can be done: Allow a subregion to be visible on all the addresses not covered by the parent MemoryRegion or other sub