Files
libvirt/docs
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
..
2023-02-21 10:58:59 +01:00
2023-05-17 16:54:23 +02:00
2023-05-17 16:54:23 +02:00
2023-07-17 10:43:29 -05:00
2022-04-07 15:10:26 +02:00
2022-04-07 15:10:26 +02:00
2022-05-24 12:19:16 +02:00
2024-02-26 12:10:27 +01:00
2022-03-08 17:40:47 +01:00
2022-04-01 16:33:19 +02:00
2026-01-06 10:58:23 +00:00
2025-03-17 12:37:48 +01:00
2022-03-08 17:40:47 +01:00
2017-08-02 15:00:28 -04:00
2022-04-14 11:54:28 +02:00
2022-04-07 15:10:26 +02: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