Re: [PATCH 08/10] vhost: move msg_handler to new ops struct

2020-11-17 Thread Stefan Hajnoczi
On Thu, Nov 12, 2020 at 05:19:08PM -0600, Mike Christie wrote: > The next patch adds a callout so drivers can perform some action when we > get a VHOST_SET_VRING_ENABLE, so this patch moves the msg_handler callout > to a new vhost_dev_ops struct just to keep all the callouts better > organized. >

[PATCH 08/10] vhost: move msg_handler to new ops struct

2020-11-12 Thread Mike Christie
The next patch adds a callout so drivers can perform some action when we get a VHOST_SET_VRING_ENABLE, so this patch moves the msg_handler callout to a new vhost_dev_ops struct just to keep all the callouts better organized. Signed-off-by: Mike Christie --- drivers/vhost/vdpa.c | 7 +-- dr