Re: [PATCH v7 05/12] vhost_net: Add NetClientInfo prepare callback

2022-08-09 Thread Eugenio Perez Martin
On Tue, Aug 9, 2022 at 8:54 AM Jason Wang wrote: > > On Fri, Aug 5, 2022 at 2:29 AM Eugenio Pérez wrote: > > > > This is used by the backend to perform actions before the device is > > started. > > > > In particular, vdpa net use it to map CVQ buffers to the device, so it > > can send control com

Re: [PATCH v7 05/12] vhost_net: Add NetClientInfo prepare callback

2022-08-08 Thread Jason Wang
On Fri, Aug 5, 2022 at 2:29 AM Eugenio Pérez wrote: > > This is used by the backend to perform actions before the device is > started. > > In particular, vdpa net use it to map CVQ buffers to the device, so it > can send control commands using them. > > Signed-off-by: Eugenio Pérez > --- > inclu

[PATCH v7 05/12] vhost_net: Add NetClientInfo prepare callback

2022-08-04 Thread Eugenio Pérez
This is used by the backend to perform actions before the device is started. In particular, vdpa net use it to map CVQ buffers to the device, so it can send control commands using them. Signed-off-by: Eugenio Pérez --- include/net/net.h | 2 ++ hw/net/vhost_net.c | 7 +++ 2 files changed,