]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Use VIR_ENUM_* instead of open coding string -> enum conversion
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 5 Dec 2019 14:59:47 +0000 (15:59 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 7 Jan 2020 15:12:55 +0000 (16:12 +0100)
commit79b9328d76207298e795f2f84c7e28ce096ddef2
treeb436bd55144afb77a8e59dfbb5a814107b39895d
parent207d38f7a24250f75cf88f3cb07985d92692ece5
virsh: Use VIR_ENUM_* instead of open coding string -> enum conversion

There are more occurrences, but I'm converting --source argument
of domifaddr command only, because I will need it in next commit.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
tools/virsh-domain-monitor.c