On 22/08/2023 09:54, Jun T wrote:
I'm not familiar with virsh, but if --all is the correct option to use then we can just remove dom_opts[edit] since the array is used as ${dom_opts[$cmd]:-"--all"}.
No, no. When I do `virsh shutdown` or `virsh console` I would like to only active guests (that are shown with `virsh list`). `--all` shows all, including powered off.
-- sergio.