[libvirt] [PATCH] virsh: Require explicit --domain for domxml-to-native
Michal Privoznik
mprivozn at redhat.com
Wed Sep 26 12:20:52 UTC 2018
On 09/26/2018 10:02 AM, Jiri Denemark wrote:
> The domxml-to-native virsh command accepts either --xml or --domain
> option followed by a file or domain name respectively. The --domain
> option is documented as required, which means an argument with no option
> is treated as --xml. Commit v4.3.0-127-gd86531daf2 broke this by making
> --domain optional and thus an argument with no option was treated as
> --domain.
>
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
> tools/virsh-domain.c | 6 +++---
> tools/virsh.h | 8 +++++---
> 2 files changed, 8 insertions(+), 6 deletions(-)
ACK
Michal
More information about the libvir-list
mailing list