mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-07 11:50:30 +00:00
config_tools: update upgrader.py script for virtio
1. add virtio gpu logic in upgrader.py script. 2. fix the upgraded virtio elements issue. 3. add the logic to remove the element with empty value in xml file to use the default value. Tracked-On: #7301 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
@@ -147,7 +147,6 @@
|
||||
<virtio_devices>
|
||||
<console/>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>WaaG</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -181,7 +180,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
|
@@ -102,7 +102,6 @@
|
||||
<virtio_devices>
|
||||
<console/>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>WaaG</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -143,7 +142,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>RT</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -181,7 +179,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG3</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -219,7 +216,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG4</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -257,7 +253,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG5</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -295,7 +290,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG6</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
|
@@ -147,7 +147,6 @@
|
||||
<virtio_devices>
|
||||
<console/>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>WaaG</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -181,7 +180,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
|
@@ -102,7 +102,6 @@
|
||||
<virtio_devices>
|
||||
<console/>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>WaaG</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -143,7 +142,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>RT</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -181,7 +179,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG3</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -219,7 +216,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG4</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -257,7 +253,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG5</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -295,7 +290,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG6</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
|
@@ -147,7 +147,6 @@
|
||||
<virtio_devices>
|
||||
<console/>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>WaaG</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -181,7 +180,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
|
@@ -114,8 +114,7 @@
|
||||
<virtio_devices>
|
||||
<console/>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>WaaG</interface_name>
|
||||
<interface_name>WaaG</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
<block>./win10-ltsc.img</block>
|
||||
@@ -155,8 +154,7 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>RT</interface_name>
|
||||
<interface_name>RT</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
<block>./core-image-weston-intel-corei7-64.wic</block>
|
||||
@@ -193,8 +191,7 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG3</interface_name>
|
||||
<interface_name>YaaG3</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
<block>./YaaG.img</block>
|
||||
@@ -231,8 +228,7 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG4</interface_name>
|
||||
<interface_name>YaaG4</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
<block>./YaaG.img</block>
|
||||
@@ -269,8 +265,7 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG5</interface_name>
|
||||
<interface_name>YaaG5</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
<block>./YaaG.img</block>
|
||||
@@ -307,8 +302,7 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>YaaG6</interface_name>
|
||||
<interface_name>YaaG6</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
<block>./YaaG.img</block>
|
||||
|
@@ -119,7 +119,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>WaaG</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -161,7 +160,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>RT</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
|
@@ -175,7 +175,6 @@
|
||||
<virtio_devices>
|
||||
<console/>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>WaaG</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
|
@@ -123,7 +123,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>RT</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
|
@@ -103,7 +103,6 @@
|
||||
<virtio_devices>
|
||||
<console/>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>WaaG</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
|
@@ -103,7 +103,6 @@
|
||||
<virtio_devices>
|
||||
<console/>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>WaaG</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -144,7 +143,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>RT</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
|
@@ -103,7 +103,6 @@
|
||||
<virtio_devices>
|
||||
<console/>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>WaaG</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
@@ -144,7 +143,6 @@
|
||||
<backend_type>stdio</backend_type>
|
||||
</console>
|
||||
<network>
|
||||
<virtio_framework/>
|
||||
<interface_name>RT</interface_name>
|
||||
</network>
|
||||
<input/>
|
||||
|
Reference in New Issue
Block a user