X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/1268d6fde96368aa6574afa762857932b3624f64..0105bad3ec72cc69dc92ce6eec7deb8c744e65ae:/lib/hypervisor/hv_kvm.py diff --git a/lib/hypervisor/hv_kvm.py b/lib/hypervisor/hv_kvm.py index e43a24c..c3d1db5 100644 --- a/lib/hypervisor/hv_kvm.py +++ b/lib/hypervisor/hv_kvm.py @@ -639,6 +639,9 @@ class KVMHypervisor(hv_base.BaseHypervisor): except EnvironmentError, err: raise errors.HypervisorError("Failed to list node info: %s" % err) result['cpu_total'] = cpu_total + # FIXME: export correct data here + result['cpu_nodes'] = 1 + result['cpu_sockets'] = 1 return result @@ -779,5 +782,3 @@ class KVMHypervisor(hv_base.BaseHypervisor): if iso_path and not os.path.isfile(iso_path): raise errors.HypervisorError("Instance cdrom image '%s' not found or" " not a file" % iso_path) - -