Peter Krempa
795e9e05c3
virPCIGetVirtualFunctions: Fetch also network interface name if needed
...
'virNetDevGetVirtualFunctions' calls 'virPCIGetVirtualFunctions' and
then re-iterates the returned list to fetch the interface names for the
returned virtual functions.
If we move the fetching of the interface name into
virPCIGetVirtualFunctions we can simplify the code and remove a bunch of
impossible error states.
To accomplish this the function is renamed to
'virPCIGetVirtualFunctionsFull' while keeping a wrapper with original
name and if the physical port ID is passed the interface name is fetched
too without the need to re-convert the address into a sysfs link.
For now 'virNetDevGetVirtualFunctions' still converts the returned data
into two lists.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-08-09 10:09:00 +02:00
..
2021-03-17 09:16:05 +00:00
2021-03-17 09:16:05 +00:00
2021-03-02 09:50:19 +01:00
2021-03-05 20:05:54 +04:00
2021-08-06 08:53:25 +02:00
2021-08-06 08:53:25 +02:00
2020-11-20 12:09:51 +00:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2020-09-02 10:28:10 +02:00
2020-09-02 10:28:10 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-07-09 09:05:08 +02:00
2021-04-13 17:00:38 +02:00
2021-04-19 11:21:40 +02:00
2021-04-19 11:21:40 +02:00
2021-04-19 11:21:40 +02:00
2021-04-19 11:21:40 +02:00
2021-04-19 11:21:40 +02:00
2021-04-14 12:06:16 +02:00
2021-04-14 12:06:16 +02:00
2021-06-15 16:27:35 +02:00
2021-06-15 16:27:35 +02:00
2021-04-13 17:00:38 +02:00
2021-05-24 20:26:20 +02:00
2021-04-13 17:00:38 +02:00
2021-02-03 13:07:13 +01:00
2021-03-04 20:52:23 +01:00
2020-03-27 16:22:49 +01:00
2021-03-08 12:16:13 +01:00
2020-06-15 14:50:46 +02:00
2021-04-21 14:18:31 +02:00
2021-04-21 14:18:31 +02:00
2021-02-05 00:20:43 -05:00
2021-06-04 10:56:06 +01:00
2021-03-05 15:01:29 +01:00
2020-09-23 13:26:34 +02:00
2021-03-17 09:16:05 +00:00
2020-08-07 12:43:56 +01:00
2020-08-07 12:43:56 +01:00
2020-09-23 17:06:36 +02:00
2021-03-02 09:50:19 +01:00
2021-04-13 17:00:38 +02:00
2021-07-27 10:29:20 +02:00
2021-07-27 10:29:20 +02:00
2021-07-23 11:31:09 +02:00
2021-04-13 17:00:38 +02:00
2021-08-06 08:53:25 +02:00
2021-04-13 17:00:38 +02:00
2020-10-06 12:31:34 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2020-11-09 23:42:33 +01:00
2020-09-23 12:53:31 +02:00
2020-09-02 10:28:10 +02:00
2021-04-13 17:00:38 +02:00
2021-02-11 17:05:32 +01:00
2021-02-11 17:05:32 +01:00
2021-07-23 11:31:12 +02:00
2021-07-26 13:27:30 +02:00
2020-09-01 21:58:46 +02:00
2020-09-01 21:58:46 +02:00
2021-03-02 09:50:19 +01:00
2021-08-06 12:00:53 +01:00
2021-07-27 10:29:23 +02:00
2020-05-25 16:09:41 +02:00
2021-05-24 20:26:20 +02:00
2021-02-02 15:00:55 +01:00
2021-08-06 12:11:58 +01:00
2021-05-13 11:07:40 +01:00
2021-05-13 11:07:16 +01:00
2021-07-14 15:36:27 +02:00
2021-04-13 17:00:38 +02:00
2021-08-06 08:53:25 +02:00
2021-08-06 08:53:25 +02:00
2021-04-13 17:00:38 +02:00
2020-08-25 19:03:11 +02:00
2020-06-26 15:39:33 +01:00
2020-06-26 15:39:33 +01:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-07-26 13:25:11 +02:00
2021-04-13 17:00:38 +02:00
2021-08-06 08:53:25 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-06 08:53:25 +02:00
2021-04-13 17:00:38 +02:00
2020-09-02 10:28:10 +02:00
2021-08-09 10:09:00 +02:00
2021-08-09 10:09:00 +02:00
2021-04-21 14:19:34 +02:00
2021-04-21 14:19:34 +02:00
2021-06-01 14:30:39 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2020-12-15 13:35:33 -05:00
2021-04-13 17:00:38 +02:00
2021-07-12 09:40:13 +02:00
2021-07-12 09:40:13 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2020-12-16 14:43:18 -05:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-19 11:39:13 +02:00
2021-05-17 15:54:13 +02:00
2021-08-06 08:53:25 +02:00
2021-04-13 17:00:38 +02:00
2021-05-24 20:26:20 +02:00
2021-04-13 17:00:38 +02:00
2021-08-09 10:09:00 +02:00
2021-08-09 10:09:00 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-05 11:18:09 +02:00
2021-08-05 11:18:09 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-06 08:53:25 +02:00
2021-08-05 11:18:09 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-05-13 11:07:13 +01:00
2021-05-13 11:07:13 +01:00
2021-08-06 08:53:25 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-06 08:53:25 +02:00
2021-04-13 17:00:38 +02:00
2020-11-06 15:03:39 +01:00
2021-08-06 08:53:25 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-05-13 11:07:47 +01:00
2021-04-13 17:00:38 +02:00
2021-02-03 13:07:13 +01:00
2021-02-03 13:07:13 +01:00
2021-02-17 10:15:33 +00:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-12 15:55:09 +02:00
2021-04-12 15:55:09 +02:00
2021-04-12 15:55:10 +02:00
2021-04-12 15:55:10 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-07-23 11:30:11 +02:00
2021-04-13 17:00:38 +02:00
2021-05-07 12:33:58 +02:00
2021-04-13 17:00:38 +02:00
2021-07-19 13:27:22 +02:00
2021-04-13 17:00:38 +02:00
2020-10-06 12:31:34 +02:00
2021-04-13 17:00:38 +02:00
2021-03-22 12:44:18 +01:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-06 08:53:25 +02:00
2021-04-13 17:00:38 +02:00
2021-08-06 08:53:25 +02:00
2021-03-05 15:33:34 +01:00
2020-12-04 16:24:19 +01:00
2020-12-04 16:24:19 +01:00
2020-11-02 22:01:36 -05:00
2020-09-02 10:28:10 +02:00
2021-05-25 13:17:22 +02:00
2021-05-25 13:17:22 +02:00