[libvirt PATCH v2 07/12] nodedev: driver: Create a generic mdevctl command translator

Laine Stump laine at redhat.com
Fri Apr 16 16:18:42 UTC 2021


On 4/13/21 4:39 PM, Jonathon Jongsma wrote:
> From: Erik Skultety <eskultet at redhat.com>
> 
> Currently there are dedicated wrappers to construct mdevctl command.
> These are mostly fine except for the one that translates both "start"
> and "define" commands, only because mdevctl takes the same set of
> arguments. Instead, keep the wrappers, but let them call a single
> global translator that handles all the mdevctl command differences and
> commonalities.
> 
> Signed-off-by: Erik Skultety <eskultet at redhat.com>
> Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>

Reviewed-by: Laine Stump <laine at redhat.com>




More information about the libvir-list mailing list