diff options
author | Yun Mao <yunmao@gmail.com> | 2012-11-12 14:02:34 -0500 |
---|---|---|
committer | Yun Mao <yunmao@gmail.com> | 2012-11-12 14:03:36 -0500 |
commit | 5d4cd7ea4fe36ff762a6426c58fceb03409d5729 (patch) | |
tree | 521c974e8f50b74ebbf437b0da76e346889a5b74 | |
parent | 6a63baadae2cb1c99b0e6e107dab9a0f454621fc (diff) | |
download | nova-5d4cd7ea4fe36ff762a6426c58fceb03409d5729.tar.gz nova-5d4cd7ea4fe36ff762a6426c58fceb03409d5729.tar.xz nova-5d4cd7ea4fe36ff762a6426c58fceb03409d5729.zip |
Rename config to vconfig
config doesn't have member named LibvirtConfigCPUFeature.
Part of bug 1078062
Change-Id: I115f3351b42173a00e2b7d02cb0fc3d76b9eb4e5
-rw-r--r-- | nova/virt/libvirt/driver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py index c3e8c3114..6dae2589e 100644 --- a/nova/virt/libvirt/driver.py +++ b/nova/virt/libvirt/driver.py @@ -2357,7 +2357,7 @@ class LibvirtDriver(driver.ComputeDriver): cpu.cores = info['topology']['cores'] cpu.threads = info['topology']['threads'] for f in info['features']: - cpu.add_feature(config.LibvirtConfigCPUFeature(f)) + cpu.add_feature(vconfig.LibvirtConfigCPUFeature(f)) u = "http://libvirt.org/html/libvirt-libvirt.html#virCPUCompareResult" m = _("CPU doesn't have compatibility.\n\n%(ret)s\n\nRefer to %(u)s") |