On 02/25/2016 10:31 PM, Jiri Pirko wrote: > 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(-) >
Applied to -net. Thanks
