rocker: prepare for easy addition of other worlds
Status from this message: Applied to -net.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 1 replyApplied
- v13 patches 4 repliesSuperseded
Changes in v2 from the cover letter
patch 2/4:
- new patch
patch 4/4:
- goto error path in case world type is not found for name
- move worlds alloc check right after worlds alloc
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | rocker: forbid to change world typehw/ hw/ hw/ | +13 | 0 replies | |
| 2/4 | rocker: return -ENOMEM in case of some world alloc failshw/ | +1 | 0 replies | |
| 3/4 | rocker: add name field into WorldOps ale let world specify its namehw/ hw/ hw/ | +3 | 0 replies | |
| 4/4 | rocker: allow user to specify rocker world by propertyhw/ | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Qemu-devel] [patch qemu v2 0/4] rocker: prepare for easy addition of other worlds
From: Jiri Pirko <[email protected]>
This patchset does couple of small changes in order to prepare for smooth addition of other worlds, like P4 and BPF. qemu user will be able to request desired rocker world by "world=worldname" property.
v1->v2:
patch 2/4:
- new patch
patch 4/4:
- goto error path in case world type is not found for name
- move worlds alloc check right after worlds alloc
Jiri Pirko (4):
rocker: forbid to change world type
rocker: return -ENOMEM in case of some world alloc fails
rocker: add name field into WorldOps ale let world specify its name
rocker: allow user to specify rocker world by property
hw/net/rocker/rocker.c | 38 ++++++++++++++++++++++++++++++++++++-- hw/net/rocker/rocker_fp.c | 5 +++++ hw/net/rocker/rocker_fp.h | 1 + hw/net/rocker/rocker_of_dpa.c | 1 + hw/net/rocker/rocker_world.c | 7 +------ hw/net/rocker/rocker_world.h | 1 + 6 files changed, 45 insertions(+), 8 deletions(-)
Signature · 1 line
2.4.3