vdpa: device feature provisioning
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 1 replyIn review
- v23 patches 27 repliesSuperseded
- v13 patches 7 repliesSuperseded
Changes in v3 from the cover letter
- remove the unnecessary and operation for the devie_features after validating it is a subset of what device supports
- provison the features via vdpasim_create() to benefit all type of simulators
- fix the reference leak when fail to provision feature for vp_vdpa
- add a warn when failing to provision vp_vdpa device features
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | vdpa: device feature provisioningdrivers/ include/ include/ | +8 | 0 replies | |
| 2/3 | vdpa_sim_net: support feature provisioningdrivers/ drivers/ drivers/ +1 more | +17 | 1 reply | |
| 3/3 | vp_vdpa: support feature provisioningdrivers/ | +20 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Eli Cohen | Stefano Garzarella |
|---|---|---|
| 1/3 | R-b | |
| 2/3 | R-b | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V3 0/3] vdpa: device feature provisioning
Hi All:
Virtio features are neogiated between the device and the drivers. This allows the mediation layer like vDPA to hide some features from the driver to faciliate the cross vendor live migration:
vDPA on the source supports feature set X
vDPA on the destination supports feature set Y
Management can simply provision the vDPA instance with features X&Y on both source and destination to let the vDPA can be migrate-able between the two vDPA devies with different features support.
This series tries to allow the device features to be provisioned via netlink to achieve this.
Changes since V2:
- remove the unnecessary and operation for the devie_features after validating it is a subset of what device supports
- provison the features via vdpasim_create() to benefit all type of simulators
- fix the reference leak when fail to provision feature for vp_vdpa
- add a warn when failing to provision vp_vdpa device features
Changes since V1:
- Add vdpa tool command output
Please review.
Jason Wang (3):
vdpa: device feature provisioning
vdpa_sim_net: support feature provisioning
vp_vdpa: support feature provisioning
drivers/vdpa/vdpa.c | 5 +++++ drivers/vdpa/vdpa_sim/vdpa_sim.c | 12 +++++++++++- drivers/vdpa/vdpa_sim/vdpa_sim.h | 3 ++- drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 2 +- drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 5 +++-- drivers/vdpa/virtio_pci/vp_vdpa.c | 22 ++++++++++++++++++++-- include/linux/vdpa.h | 1 + include/uapi/linux/vdpa.h | 2 ++ 8 files changed, 45 insertions(+), 7 deletions(-)
Signature · 6 lines
2.25.1 _______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization