Michal Privoznik
2c8d914b81
virsh: Make --type argument of detach-interface optional
...
The detach-interface virsh command requires domain (obviously)
and --type to identify <interface/>. Optionally, --mac can be
provided to chose from multiple interfaces. Well, that renders
--type argument redundant. I mean, if there are but unique MACs
within domain XML, then interface type is implied. If there are
duplicate MACs then --type can help to differentiate, though at
that point detach-device seems like a better fit.
Long story short, make --type optional.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com >
Reviewed-by: Peter Krempa <pkrempa@redhat.com >
2026-06-18 14:11:51 +02:00
..
2025-11-24 16:40:24 +01:00
2023-04-20 15:30:18 +02:00
2021-10-12 16:46:45 +02:00
2025-11-24 16:40:24 +01:00
2025-11-24 16:40:24 +01:00
2024-05-09 09:20:29 +01:00
2024-02-08 16:48:47 +01:00
2026-02-24 11:29:06 +01:00
2025-11-24 16:40:24 +01:00
2026-06-18 14:11:51 +02:00
2023-02-21 10:58:59 +01:00
2023-05-17 16:54:23 +02:00
2023-05-17 16:54:23 +02:00
2024-01-17 17:31:12 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2024-10-09 16:00:44 +02:00
2025-03-04 09:31:36 +01:00
2017-08-02 17:00:11 +01:00
2025-11-21 12:58:25 +00:00
2021-03-15 17:31:57 +01:00
2021-03-23 17:55:06 +01:00
2022-10-25 08:37:28 +02:00
2023-10-31 10:04:27 +00:00
2017-08-02 17:00:11 +01:00
2025-06-10 14:52:12 +01:00
2022-04-01 16:33:19 +02:00
2024-06-17 13:31:31 +01:00
2023-10-11 09:43:09 +02:00
2023-10-11 09:43:09 +02:00
2023-07-17 10:43:29 -05:00
2025-05-02 14:31:19 +02:00
2020-08-03 09:27:09 +02:00
2025-07-11 14:36:15 +02:00
2023-10-31 10:04:27 +00:00
2023-07-14 15:19:10 +02:00
2022-04-07 15:10:26 +02:00
2022-04-07 15:10:26 +02:00
2022-04-07 15:10:26 +02:00
2025-04-07 15:26:32 +02:00
2025-06-05 17:29:26 +02:00
2025-08-23 09:59:58 +02:00
2026-05-28 18:36:03 +02:00
2025-10-31 13:14:16 +01:00
2026-05-18 10:22:15 +02:00
2022-05-24 12:19:16 +02:00
2022-06-01 12:27:09 +02:00
2025-08-23 09:59:58 +02:00
2024-02-26 12:10:27 +01:00
2022-04-01 16:33:19 +02:00
2026-05-06 10:47:13 +02:00
2026-02-12 17:07:58 +01:00
2022-04-01 16:33:19 +02:00
2023-01-24 10:24:07 +01:00
2022-04-01 16:33:19 +02:00
2022-04-01 16:33:19 +02:00
2024-02-26 12:10:27 +01:00
2022-03-08 17:40:47 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2025-07-08 14:58:04 +02:00
2022-04-01 16:33:19 +02:00
2026-03-20 14:32:34 +01:00
2026-02-24 11:28:56 +01:00
2022-06-01 12:27:09 +02:00
2026-06-18 11:03:36 +02:00
2026-03-11 14:03:59 +01:00
2026-03-09 01:14:55 -04:00
2024-02-26 12:10:27 +01:00
2024-02-26 12:10:27 +01:00
2025-07-08 14:58:04 +02:00
2026-01-06 10:58:23 +00:00
2025-10-21 15:32:40 +02:00
2026-03-10 14:50:55 +01:00
2022-04-07 17:15:52 +02:00
2026-04-20 09:10:02 +00:00
2025-03-17 12:37:48 +01:00
2022-03-08 17:40:47 +01:00
2023-02-15 12:38:45 +01:00
2024-10-28 12:29:31 +00:00
2025-08-08 13:43:52 +02:00
2025-05-06 08:31:39 +02:00
2025-11-24 16:40:24 +01:00
2024-10-09 16:00:44 +02:00
2023-06-02 09:39:10 +02:00
2023-06-02 09:39:10 +02:00
2022-04-01 16:33:20 +02:00
2022-01-25 16:54:44 +01:00
2017-08-02 15:00:28 -04:00
2026-02-12 17:07:58 +01:00
2022-01-04 15:47:25 +01:00
2017-08-02 17:00:11 +01:00
2024-03-01 12:51:56 +01:00
2024-10-09 16:00:44 +02:00
2025-07-18 15:05:41 +02:00
2025-11-24 16:40:24 +01:00
2024-01-07 23:59:00 -05:00
2022-04-19 16:19:48 +02:00
2022-04-14 11:54:28 +02:00
2020-11-12 15:01:42 +01:00
2022-04-07 15:10:26 +02:00
2024-10-09 16:00:44 +02:00
2026-02-12 17:07:58 +01:00
2025-06-10 14:52:12 +01:00
2025-11-24 16:40:24 +01:00
2024-05-13 08:57:05 +02:00
2025-08-13 15:41:05 +02:00
2022-03-08 17:40:47 +01:00
2023-04-03 09:19:05 +02:00
2025-03-17 11:34:12 +00:00
2022-03-08 17:40:47 +01:00
2023-10-31 10:04:27 +00:00
2023-10-11 09:43:09 +02:00
2024-10-09 16:00:44 +02:00
2026-06-17 14:13:47 +02:00
2024-10-09 16:00:44 +02:00