]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Move and rename virDomainParseScaledValue()
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 28 May 2020 10:38:43 +0000 (12:38 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 8 Jul 2020 10:05:24 +0000 (12:05 +0200)
commit04bd77a19f8312493151ce377da40577b1470a0b
tree5fcc3a3c4fb890208308530d70c5f4136b6b456c
parentafb1ea67769d88290499c5c6a0c34982bad6e9c9
conf: Move and rename virDomainParseScaledValue()

There is nothing domain specific about the function, thus it
should not have virDomain prefix. Also, the fact that it is a
static function makes it impossible to use from other files.
Move the function to virxml.c and drop the 'Domain' infix.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/conf/domain_conf.c
src/libvirt_private.syms
src/util/virxml.c
src/util/virxml.h