From ad4bbc3d325932333e77cb4154e9c785eeba1644 Mon Sep 17 00:00:00 2001 From: "Yang,Yu-chu" Date: Mon, 10 May 2021 19:32:59 -0700 Subject: [PATCH] config-tools: add acrn specific functions to lib.xsl acrn:get-vbdf: get the virtual bdf from allocation.xml based on vmid and device name acrn:get-pbdf: get physical bdf from acrn:ptdev-name-suffix: fix the name to look up allocation.xml acrn:get-hidden-device-num: get the number of hidden devices based on board name acrn:is-vmsix-supported-device: check if a device is a vmsix supported device based on the vendor and identifier Tracked-On: #6024 Signed-off-by: Yang,Yu-chu --- misc/config_tools/xforms/lib.xsl | 105 +++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) diff --git a/misc/config_tools/xforms/lib.xsl b/misc/config_tools/xforms/lib.xsl index e03b5d08f..8dcf6613e 100644 --- a/misc/config_tools/xforms/lib.xsl +++ b/misc/config_tools/xforms/lib.xsl @@ -1,4 +1,8 @@ + + + + + + + + + + + + + + + + + + + + + @@ -492,6 +513,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +