On 4/13/21 4:39 PM, Jonathon Jongsma wrote:
From: Erik Skultety <eskultet@xxxxxxxxxx> "start" in libvirt means - "take this object and create an instance out of it" "create" in libvirt most of the time means - "take and XML description, make an object out of it and use it to create an instance" This gets confusing with mdevctl which uses "start" for both. So, this patch proposes to use virMdevctlStart in cases where from libvirt's POV we're starting a defined device (unlike mdevctl). Analogically,
"similarly" sounds less awkward to me, but this is also a word, so... :-)
use virMdevctlCreate in scenarios where XML description is passed to libvirt and a transient device is supposed to be created.
Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx> Signed-off-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx>
Reviewed-by: Laine Stump <laine@xxxxxxxxxx>