]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: scheduler parser: do not hardcode element name
authorJán Tomko <jtomko@redhat.com>
Sat, 25 Jul 2020 07:49:38 +0000 (09:49 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 3 Aug 2020 05:23:45 +0000 (07:23 +0200)
commita36b6c9a8a304852b1866e3411a07cb367918519
tree51fe23c569457bf79c43c647c5fe40be0eaec60a
parenta7d7c2a451b0f95bef3874a2794532f77ea02b08
conf: scheduler parser: do not hardcode element name

When trying to parse an XML with overlapping iothread scheduler
settings, the error message was rather confusing:

   error: iothreadssched attributes 'vcpus' must not overlap

Pass the correct element name.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/conf/domain_conf.c