Lines Matching refs:key
210 key = "vm:id={},{}".format(name_i, item)
211 ERR_LIST[key] = "VM name length should be in range [1,32] bytes"
227 key = "vm:id={},{}".format(order_i, item)
228 ERR_LIST[key] = "VM load should not empty"
232 key = "vm:id={},{}".format(order_i, item)
233 ERR_LIST[key] = "VM load order unknown"
248 key = "vm:id={},{}".format(sos_vm_ids[0], item)
249 ERR_LIST[key] = "Service VM number should not be greater than 1"
254 key = "vm:id={},{}".format(post_vm_ids[0], item)
255 ERR_LIST[key] = "Post vm should be configured after SERVICE_VM"
259 key = "vm:id={},{}".format(sos_vm_ids[0], item)
260 ERR_LIST[key] = "Pre vm should be configured before SERVICE_VM"
277 key = "vm:id={},{},{}".format(vm_i, branch_tag, leaf_tag)
278 ERR_LIST[key] = "Unknow guest flag"
309 key = "vm:id={},{}".format(abs_vmid - sos_vmid, 'pcpu_id')
310 err_dic[key] = "This vm cpu_affinity is empty. " \
313 key = "vm:id={},{}".format(abs_vmid - sos_vmid, 'pcpu_id')
314 err_dic[key] = "This pCPU is not included in this VM's allowed CPU pool. " \
322 key = "vm:id={},{}".format(vm_i, 'pcpu_id')
323 …err_dic[key] = "The same pCPU was configured in <pcpu_id>/<cpu_affinity>, but CPU sharing is disab…
348 key = "vm:id={},{}".format(vm_i, 'pcpu_id')
349 err_dic[key] = "VM should not use the same pcpu id:{}".format(cpu_id)
354 key = "Service VM cpu_affinity"
355 err_dic[key] = "Should assign CPU id for Service VM"
359 key = "Pre launched VM cpu_affinity"
360 err_dic[key] = "Pre_launched_vm vm should not have the same cpus assignment"
378 key = "vm:id={},{}".format(id_key, item)
379 ERR_LIST[key] = "VM start host physical memory address should not empty"
383 key = "vm:id={},{},{}".format(id_key, prime_item, item)
385 ERR_LIST[key] = "Address should be Hex format"
401 key = "vm:id={},{}".format(id_key, item)
402 ERR_LIST[key] = "VM start host physical memory size should not empty"
407 key = "vm:id={},{},{}".format(id_key, prime_item, item)
409 ERR_LIST[key] = "Mem size should be Hex format"
422 key = "vm:id={},{},{}".format(id_key, prime_item, item)
423 ERR_LIST[key] = "VM os config kernel name length should be in range [1,32] bytes"
437 key = "vm:id={},{}".format(id_key, item)
438 ERR_LIST[key] = "VM os config kernel type should not empty"
442 key = "vm:id={},{},{}".format(id_key, prime_item, item)
443 ERR_LIST[key] = "VM os config kernel type unknown"
456 key = "vm:id={},{},{}".format(id_key, prime_item, item)
457 ERR_LIST[key] = "VM os config kernel mod tag should be in range [1,32] bytes"
473 key = "vm:id={},{},{}".format(id_key, prime_item, item)
474 ERR_LIST[key] = "VM os config kernel load address should not empty"
478 key = "vm:id={},{},{}".format(id_key, prime_item, item)
479 ERR_LIST[key] = "VM os config kernel load address should Hex format"
495 key = "vm:id={},{},{}".format(id_key, prime_item, item)
496 ERR_LIST[key] = "VM os config kernel entry address should not empty"
500 key = "vm:id={},{},{}".format(id_key, prime_item, item)
501 ERR_LIST[key] = "VM os config kernel entry address should Hex format"
514 key = "vm:id={},{},{}".format(id_key, branch_tag, tag_str)
515 ERR_LIST[key] = "The {} is unkonw device of PCI".format(pci_bdf_dev)
527 for key in vm_vuart1[i].keys():
528 if key == "target_vm_id":
529 vm_id_dic[i] = vm_vuart1[i][key]
611 key = "vm={},legacy_vuart=0,base".format(vm_i)
612 tmp_vuart[key] = ['SERVICE_VM_COM1_BASE', 'INVALID_COM_BASE']
613 key = "vm={},legacy_vuart=1,base".format(vm_i)
614 tmp_vuart[key] = ['SERVICE_VM_COM2_BASE', 'INVALID_COM_BASE']
616 key = "vm={},legacy_vuart=0,base".format(vm_i)
617 tmp_vuart[key] = ['INVALID_COM_BASE', 'COM1_BASE']
618 key = "vm={},legacy_vuart=1,base".format(vm_i)
619 tmp_vuart[key] = ['INVALID_COM_BASE', 'COM2_BASE']
657 key = "vm:id={},legacy_vuart:id=1,base".format(vm_i)
658 ERR_LIST[key] = "base should be in xml"
662 key = "vm:id={},legacy_vuart:id=1,base".format(vm_i)
663 ERR_LIST[key] = "base should be Service VM/COM BASE"
669 key = "vm:id={},legacy_vuart:id=1,target_vm_id".format(vm_i)
670 ERR_LIST[key] = "target_vm_id should be in xml"
673 key = "vm:id={},legacy_vuart:id=1,target_vm_id".format(vm_i)
674 ERR_LIST[key] = "target_vm_id should be numeric of vm id"
682 key = "vm:id={},legacy_vuart:id=1,target_vm_id".format(vm_i)
683 ERR_LIST[key] = "target_vm_id which specified does not exist"
693 key = "vm:id={},legacy_vuart:id=1,target_vm_id".format(i)
694 ERR_LIST[key] = "Creating the wrong configuration for target_vm_id."
708 key = "vm:id={},legacy_vuart:id=1,target_vm_id".format(vm_i)
852 key = "vm:id={}".format(vm_id)
855 ERR_LIST[key] = str(exc)
858 key = "vm:id={},legacy_vuart:id={},base".format(vm_id, vuart_id)
859 ERR_LIST[key] = str(exc)
879 key = err_key
1014 key = "vm:id={},{},{}".format(vm_i, prime_item, item)
1015 … ERR_LIST[key] = "'vcpu_clos' number should be equal 'pcpu_id' number for VM{}".format(vm_i)
1021 key = "vm:id={},{},{}".format(vm_i, prime_item, item)
1022 ERR_LIST[key] = "'vcpu_clos' should be not None"
1026 key = "vm:id={},{},{}".format(vm_i, prime_item, item)
1027 …ERR_LIST[key] = "CDP_ENABLED=y, the clos value should not be greater than {} for VM{}".format(comm…
1041 key = "hv,{},{},{},{}".format(prime_item, item, sub_item, MAX_SHMEM_REGION_NUM)
1042 …ERR_LIST[key] = "The number of hv-land shmem regions should not be greater than {}.".format(MAX_SH…
1061 key = "hv,{},{},{},{}".format(prime_item, item, sub_item, index)
1065 … ERR_LIST[key] = "The name, size, communication VM IDs of the share memory should be separated " \
1071 …ERR_LIST[key] = "The shared memory region should be configured with format like this: hv:/shm_regi…
1082 …ERR_LIST[key] = "The communication VM IDs of the share memory should be decimal and separated by c…
1085 …ERR_LIST[key] = "The communication VM IDs of the share memory should be decimal and separated by c…
1088 … ERR_LIST[key] = "The communication VM IDs of the share memory should not be duplicated."
1092 ERR_LIST[key] = "Shared Memory can be only configured for existed VMs."
1096 ERR_LIST[key] = "The name, size of the share memory should not be empty."
1100 ERR_LIST[key] = "The size of share Memory name should be in range [1,32] bytes."
1107 ERR_LIST[key] = "The size of the shared memory region should be a decimal number."
1110 … ERR_LIST[key] = "The size of the shared memory region should be in the range of [2MB, 512MB]."
1113 ERR_LIST[key] = "The size of share Memory region should be a power of 2."
1121 … ERR_LIST[key] = "The names of share memory regions should not be duplicated: {}".format(name)
1137 key = "hv,{},{},{},{}".format(prime_item, item, sub_item, index)
1142 …ERR_LIST[key] = "Failed to get the start address of the shared memory, please check the size of it…
1150 key = "vm:id={},p2sb".format(vm_i)
1151 ERR_LIST[key] = "Can only specify p2sb passthru for VM0"