Revision 0105bad3 lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
639 | 639 |
except EnvironmentError, err: |
640 | 640 |
raise errors.HypervisorError("Failed to list node info: %s" % err) |
641 | 641 |
result['cpu_total'] = cpu_total |
642 |
# FIXME: export correct data here |
|
643 |
result['cpu_nodes'] = 1 |
|
644 |
result['cpu_sockets'] = 1 |
|
642 | 645 |
|
643 | 646 |
return result |
644 | 647 |
|
... | ... | |
779 | 782 |
if iso_path and not os.path.isfile(iso_path): |
780 | 783 |
raise errors.HypervisorError("Instance cdrom image '%s' not found or" |
781 | 784 |
" not a file" % iso_path) |
782 |
|
|
783 |
|
Also available in: Unified diff