[PATCH 17/43] conf: cpu: Extract and refactor parsing of cache from virCPUDefParseXML

Ján Tomko jtomko at redhat.com
Tue Nov 1 16:55:56 UTC 2022


On a Monday in 2022, Peter Krempa wrote:
>Move the parser into a helper function named 'virCPUDefParseXMLCache'
>and use the virXMLProp* helpers instead of multiple XPath lookups.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/cpu_conf.c | 58 ++++++++++++++++++++++++++-------------------
> 1 file changed, 34 insertions(+), 24 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano


More information about the libvir-list mailing list