libvirt/tests/nodedevmdevctldata
Erik Skultety 963888f288 nodedev: driver: Swap virMdevctlStart and virMdevctlCreate
"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). Similarly, 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@redhat.com>
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
2021-04-19 10:24:13 -05:00
..
mdev_d069d019_36ea_4111_8f0a_8c9a70e21366-create.argv nodedev: driver: Swap virMdevctlStart and virMdevctlCreate 2021-04-19 10:24:13 -05:00
mdev_d069d019_36ea_4111_8f0a_8c9a70e21366-create.json nodedev: driver: Swap virMdevctlStart and virMdevctlCreate 2021-04-19 10:24:13 -05:00
mdev_d069d019_36ea_4111_8f0a_8c9a70e21366-define.argv nodedevmdevctltest: Use internal linewrapping and variable command path stripping 2021-04-12 15:55:10 +02:00
mdev_d069d019_36ea_4111_8f0a_8c9a70e21366-define.json nodedev: add function to generate mdevctl define command 2021-04-07 15:08:59 -05:00
mdev_d2441d39_495e_4243_ad9f_beb3f14c23d9-create.argv nodedev: driver: Swap virMdevctlStart and virMdevctlCreate 2021-04-19 10:24:13 -05:00
mdev_d2441d39_495e_4243_ad9f_beb3f14c23d9-create.json nodedev: driver: Swap virMdevctlStart and virMdevctlCreate 2021-04-19 10:24:13 -05:00
mdev_d2441d39_495e_4243_ad9f_beb3f14c23d9-define.argv nodedevmdevctltest: Use internal linewrapping and variable command path stripping 2021-04-12 15:55:10 +02:00
mdev_d2441d39_495e_4243_ad9f_beb3f14c23d9-define.json nodedev: add function to generate mdevctl define command 2021-04-07 15:08:59 -05:00
mdev_fedc4916_1ca8_49ac_b176_871d16c13076-create.argv nodedev: driver: Swap virMdevctlStart and virMdevctlCreate 2021-04-19 10:24:13 -05:00
mdev_fedc4916_1ca8_49ac_b176_871d16c13076-create.json nodedev: driver: Swap virMdevctlStart and virMdevctlCreate 2021-04-19 10:24:13 -05:00
mdev_fedc4916_1ca8_49ac_b176_871d16c13076-define.argv nodedevmdevctltest: Use internal linewrapping and variable command path stripping 2021-04-12 15:55:10 +02:00
mdev_fedc4916_1ca8_49ac_b176_871d16c13076-define.json nodedev: add function to generate mdevctl define command 2021-04-07 15:08:59 -05:00
mdevctl-list-defined.argv nodedevmdevctltest: Use internal linewrapping and variable command path stripping 2021-04-12 15:55:10 +02:00
mdevctl-list-multiple.json nodedev: add ability to parse mdevs from mdevctl 2021-04-07 15:05:31 -05:00
mdevctl-list-multiple.out.xml nodedev: add <uuid> element to mdev caps 2021-04-07 15:14:01 -05:00
mdevctl-start.argv nodedev: driver: Swap virMdevctlStart and virMdevctlCreate 2021-04-19 10:24:13 -05:00
mdevctl-stop.argv tests: nodedev: switch all test macros to accept a filename 2021-04-19 10:24:13 -05:00
mdevctl-undefine.argv tests: nodedev: switch all test macros to accept a filename 2021-04-19 10:24:13 -05:00