mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-03 20:59:53 +00:00
Python scripts discovering CPU IDs are off by 1
Tracked-On: #4387 Signed-off-by: Alexander Merritt <alex.merritt@intel.com>
This commit is contained in:
parent
ef1c92e841
commit
2e10930d12
@ -201,7 +201,7 @@ def dump_cpu_core_info(config):
|
||||
print("\t{}".format(processor_id), end="", file=config)
|
||||
|
||||
processor_id += 1
|
||||
while (processor_id < int(line.split('-')[1].strip())):
|
||||
while (processor_id <= int(line.split('-')[1].strip())):
|
||||
print(", {}".format(processor_id), end="", file=config)
|
||||
processor_id += 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user