Re: [PATCH RFC 06/12] vdpa_sim: add struct vdpasim_device to store device properties

2020-11-17 Thread Stefano Garzarella
On Tue, Nov 17, 2020 at 11:23:05AM +, Stefan Hajnoczi wrote: On Fri, Nov 13, 2020 at 02:47:06PM +0100, Stefano Garzarella wrote: Move device properties used during the entire life cycle in a new structure to simplify the copy of these fields during the vdpasim initialization. Signed-off-by:

Re: [PATCH RFC 06/12] vdpa_sim: add struct vdpasim_device to store device properties

2020-11-17 Thread Stefan Hajnoczi
On Fri, Nov 13, 2020 at 02:47:06PM +0100, Stefano Garzarella wrote: > Move device properties used during the entire life cycle in a new > structure to simplify the copy of these fields during the vdpasim > initialization. > > Signed-off-by: Stefano Garzarella > --- > drivers/vdpa/vdpa_sim/vdpa_s

Re: [PATCH RFC 06/12] vdpa_sim: add struct vdpasim_device to store device properties

2020-11-16 Thread Stefano Garzarella
On Mon, Nov 16, 2020 at 12:14:31PM +0800, Jason Wang wrote: On 2020/11/13 下午9:47, Stefano Garzarella wrote: Move device properties used during the entire life cycle in a new structure to simplify the copy of these fields during the vdpasim initialization. Signed-off-by: Stefano Garzarella

Re: [PATCH RFC 06/12] vdpa_sim: add struct vdpasim_device to store device properties

2020-11-15 Thread Jason Wang
On 2020/11/13 下午9:47, Stefano Garzarella wrote: Move device properties used during the entire life cycle in a new structure to simplify the copy of these fields during the vdpasim initialization. Signed-off-by: Stefano Garzarella It would be better to do it before patch 2. --- drivers

[PATCH RFC 06/12] vdpa_sim: add struct vdpasim_device to store device properties

2020-11-13 Thread Stefano Garzarella
Move device properties used during the entire life cycle in a new structure to simplify the copy of these fields during the vdpasim initialization. Signed-off-by: Stefano Garzarella --- drivers/vdpa/vdpa_sim/vdpa_sim.h | 17 -- drivers/vdpa/vdpa_sim/vdpa_sim.c | 33 ++