Re: [libvirt] [PATCH 1/2] conf: pass the element/attribute names to virSchedulerFormat

2019-04-16 Thread Andrea Bolognani
On Mon, 2019-04-15 at 16:55 +0200, Ján Tomko wrote: > Instead of constructing them dynamically from a base name, pass the two > different static strings. > > While adjusting the callers, also expect a negative return value. Changing the arguments and changing the return value should happen in sep

[libvirt] [PATCH 1/2] conf: pass the element/attribute names to virSchedulerFormat

2019-04-15 Thread Ján Tomko
Instead of constructing them dynamically from a base name, pass the two different static strings. While adjusting the callers, also expect a negative return value. Signed-off-by: Ján Tomko --- src/conf/domain_conf.c | 30 +- 1 file changed, 17 insertions(+), 13 delet