Re: [RFC 1/4] memory: add memory_region_init_io_with_dev interface

2020-09-20 Thread Paolo Bonzini
On 08/09/20 18:41, Li Qiang wrote: > Currently the MR is not explicitly connecting with its device instead of > a opaque. In most situation this opaque is the deivce but it is not an > enforcement. This patch adds a DeviceState member of to MemoryRegion > we will use it in later patch. > >

Re: [RFC 1/4] memory: add memory_region_init_io_with_dev interface

2020-09-13 Thread Jason Wang
On 2020/9/10 下午10:37, Li Qiang wrote: Alexander Bulekov 于2020年9月9日周三 下午10:28写道: On 200909 1258, Li Qiang wrote: Gerd Hoffmann 于2020年9月9日周三 下午12:49写道: On Wed, Sep 09, 2020 at 10:15:47AM +0800, Jason Wang wrote: On 2020/9/9 上午12:41, Li Qiang wrote: Currently the MR is not explicitly

Re: [RFC 1/4] memory: add memory_region_init_io_with_dev interface

2020-09-10 Thread Li Qiang
Alexander Bulekov 于2020年9月9日周三 下午10:28写道: > > On 200909 1258, Li Qiang wrote: > > Gerd Hoffmann 于2020年9月9日周三 下午12:49写道: > > > > > > On Wed, Sep 09, 2020 at 10:15:47AM +0800, Jason Wang wrote: > > > > > > > > On 2020/9/9 上午12:41, Li Qiang wrote: > > > > > Currently the MR is not explicitly

Re: [RFC 1/4] memory: add memory_region_init_io_with_dev interface

2020-09-09 Thread Alexander Bulekov
On 200909 1258, Li Qiang wrote: > Gerd Hoffmann 于2020年9月9日周三 下午12:49写道: > > > > On Wed, Sep 09, 2020 at 10:15:47AM +0800, Jason Wang wrote: > > > > > > On 2020/9/9 上午12:41, Li Qiang wrote: > > > > Currently the MR is not explicitly connecting with its device instead of > > > > a opaque. In most

Re: [RFC 1/4] memory: add memory_region_init_io_with_dev interface

2020-09-08 Thread Li Qiang
Gerd Hoffmann 于2020年9月9日周三 下午12:49写道: > > On Wed, Sep 09, 2020 at 10:15:47AM +0800, Jason Wang wrote: > > > > On 2020/9/9 上午12:41, Li Qiang wrote: > > > Currently the MR is not explicitly connecting with its device instead of > > > a opaque. In most situation this opaque is the deivce but it is

Re: [RFC 1/4] memory: add memory_region_init_io_with_dev interface

2020-09-08 Thread Gerd Hoffmann
On Wed, Sep 09, 2020 at 10:15:47AM +0800, Jason Wang wrote: > > On 2020/9/9 上午12:41, Li Qiang wrote: > > Currently the MR is not explicitly connecting with its device instead of > > a opaque. In most situation this opaque is the deivce but it is not an > > enforcement. This patch adds a

Re: [RFC 1/4] memory: add memory_region_init_io_with_dev interface

2020-09-08 Thread Li Qiang
Jason Wang 于2020年9月9日周三 上午10:16写道: > > > On 2020/9/9 上午12:41, Li Qiang wrote: > > Currently the MR is not explicitly connecting with its device instead of > > a opaque. In most situation this opaque is the deivce but it is not an > > enforcement. This patch adds a DeviceState member of to

Re: [RFC 1/4] memory: add memory_region_init_io_with_dev interface

2020-09-08 Thread Jason Wang
On 2020/9/9 上午12:41, Li Qiang wrote: Currently the MR is not explicitly connecting with its device instead of a opaque. In most situation this opaque is the deivce but it is not an enforcement. This patch adds a DeviceState member of to MemoryRegion we will use it in later patch. I don't

[RFC 1/4] memory: add memory_region_init_io_with_dev interface

2020-09-08 Thread Li Qiang
Currently the MR is not explicitly connecting with its device instead of a opaque. In most situation this opaque is the deivce but it is not an enforcement. This patch adds a DeviceState member of to MemoryRegion we will use it in later patch. Signed-off-by: Li Qiang --- include/exec/memory.h |