]> xenbits.xensource.com Git - libvirt.git/commit
conf: capabilities: Modernize virCapabilitiesFormatMemoryBandwidth
authorPeter Krempa <pkrempa@redhat.com>
Fri, 25 Oct 2019 14:26:35 +0000 (16:26 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Nov 2019 13:37:59 +0000 (14:37 +0100)
commit6245296f058fe1f96a8a6c374cbeb36caf63efdb
treec5c9173410c0d284f8a93d7ecf17d59ad38c3b73
parent3ca2bdefa57c90d7d9ed633a01393d8a825ca2a1
conf: capabilities: Modernize virCapabilitiesFormatMemoryBandwidth

Use virXMLFormatElement and the automatic memory handlers to simplfy the
code.

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