mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-22 13:37:10 +00:00
config_tools: remove the assume of virtio-net device name
Since PR #7185 has removed the assume of virtio-net device name, we also remove it in the launch script generation logic. Tracked-On: #6690 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
parent
b9431b8da4
commit
95a9c05a25
@ -128,7 +128,7 @@ function add_virtual_device() {
|
||||
if [ "${kind}" = "virtio-net" ]; then
|
||||
# Create the tap device
|
||||
tap_conf=${options%,*}
|
||||
create_tap "tap_${tap_conf#tap=}" >> /dev/stderr
|
||||
create_tap "${tap_conf#tap=}" >> /dev/stderr
|
||||
fi
|
||||
|
||||
echo -n "-s ${slot},${kind}"
|
||||
|
Loading…
Reference in New Issue
Block a user