Revision 3c286190 lib/hypervisor/hv_xen.py
b/lib/hypervisor/hv_xen.py | ||
---|---|---|
137 | 137 |
# VM) to one physical CPU, using format 'cpu = "C"' |
138 | 138 |
return "cpu = \"%s\"" % ",".join(map(str, all_cpu_mapping)) |
139 | 139 |
else: |
140 |
|
|
140 | 141 |
def _GetCPUMap(vcpu): |
141 | 142 |
if vcpu[0] == constants.CPU_PINNING_ALL_VAL: |
142 | 143 |
cpu_map = constants.CPU_PINNING_ALL_XEN |
Also available in: Unified diff