Switch libvirt get_cpu_info method over to use config APIs

The get_cpu_info method in the libvirt driver currently uses
XPath queries to extract information from the capabilities
XML document. Switch this over to use the new config class
LibvirtConfigCaps. Also provide a test case to validate
the data being returned.

Change-Id: I3ff015d641b8052cafee8b2cf84c14588e75287a
Closes-Bug: 1234567
This commit is contained in:
Jonte Watford 2016-08-18 14:57:48 +00:00
parent 0c6970c72d
commit 7147fb3bcf

3
jw-72694.py Normal file
View File

@ -0,0 +1,3 @@
Hello OpenStack Community,
This is my first bug fix.
I really hope it gets merged to master.