mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-20 20:53:46 +00:00
misc: fix the summary issue after update board xml
The new board xml have add a "module" node under the "processors/die" which has cause an issue when we run the summary, this patch use "//" to select all "cpu_id" under the "processors". Tracked-On: #8385 Signed-off-by: Chenli Wei <chenli.wei@intel.com>
This commit is contained in:
parent
de0a765010
commit
c9e5fd1469
@ -100,7 +100,7 @@ class GenerateRst:
|
|||||||
|
|
||||||
# Get all physical CPU information from board.xml
|
# Get all physical CPU information from board.xml
|
||||||
def get_pcpu(self):
|
def get_pcpu(self):
|
||||||
pcpu_list = list(map(int, self.board_etree.xpath("processors/die/core/thread/cpu_id/text()")))
|
pcpu_list = list(map(int, self.board_etree.xpath("processors//cpu_id/text()")))
|
||||||
return pcpu_list
|
return pcpu_list
|
||||||
|
|
||||||
def write_shared_cache(self):
|
def write_shared_cache(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user