diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2012-06-19 14:34:03 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2012-06-28 17:51:38 +0100 |
commit | b4abb92b815988a4700313274ac7182f374a2286 (patch) | |
tree | 921a9ca0aceff9fbfe6234eda7ab43fa9561a6a9 /nova/context.py | |
parent | 6ae0c333aa1a9fe83eea807a90d83b6f466caacf (diff) | |
download | nova-b4abb92b815988a4700313274ac7182f374a2286.tar.gz nova-b4abb92b815988a4700313274ac7182f374a2286.tar.xz nova-b4abb92b815988a4700313274ac7182f374a2286.zip |
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
Fixes: bug #1003373
Implements: blueprint libvirt-xml-cpu-model
Change-Id: I4946a16d27f712ae2adf8441ce78e6c0bb0bb657
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions