Re: [Qemu-devel] [PATCH v2 1/5] range: add Range structure

2013-05-30 Thread Hu Tao
On Thu, May 30, 2013 at 02:07:16PM +0300, Michael S. Tsirkin wrote: > Sometimes we need to pass ranges around, add a > handy structure for this purpose. > > Note: memory.c defines its own concept of AddrRange structure for > working with 128 addresses. It's necessary there for doing range math. >

[Qemu-devel] [PATCH v2 1/5] range: add Range structure

2013-05-30 Thread Michael S. Tsirkin
Sometimes we need to pass ranges around, add a handy structure for this purpose. Note: memory.c defines its own concept of AddrRange structure for working with 128 addresses. It's necessary there for doing range math. This is not needed for most users: struct Range is much simpler, and is only us