]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Refactor str2DiskAddress
authorPeter Krempa <pkrempa@redhat.com>
Thu, 19 Nov 2020 11:33:48 +0000 (12:33 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 23 Nov 2020 13:44:39 +0000 (14:44 +0100)
commit67bf91e1c38b6569357c22b1c83f7b090badba2b
treefc435b8f0d4ae3d9c82ff518b25c1e3710023725
parent565d922b5bd26a868f8321546b88f158aee96f77
virsh: Refactor str2DiskAddress

Rewrite and rename the address parser.

As a fallout the use of the removed 'str2PCIAddress' is replaced by
virshAddressParse and virshAddressFormat.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
tools/virsh-domain.c