config_tool: remove "gpu" parameter when pass-thru IGD

remove "gpu" parameter when pass-thru IGD

Tracked-On: #6357

Signed-off-by: Liu,Junming <junming.liu@intel.com>
This commit is contained in:
Liu,Junming 2021-09-17 13:44:20 +00:00 committed by wenlingz
parent 345ad0a010
commit 97d4485455
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ acrn-dm -A -m $mem_size -s 0:0,hostbridge -U d2795438-25d6-11e8-864e-cb7a18b3464
$logger_setting \
-s 6,virtio-blk,./win10-ltsc.img \
-s 7,virtio-net,tap_WaaG \
-s 2,passthru,0/2/0,gpu \
-s 2,passthru,0/2/0 \
--ovmf /usr/share/acrn/bios/OVMF.fd \
$intr_storm_monitor \
-s 31:0,lpc \

View File

@ -230,7 +230,7 @@ def gvt_arg_set(dm, vmid, uos_type, config):
bus = int(gpu_bdf[0:2], 16)
dev = int(gpu_bdf[3:5], 16)
fun = int(gpu_bdf[6:7], 16)
print(' -s 2,passthru,{}/{}/{},gpu \\'.format(bus, dev, fun), file=config)
print(' -s 2,passthru,{}/{}/{} \\'.format(bus, dev, fun), file=config)
elif gvt_args:
print(' -s 2,pci-gvt -G "$2" \\', file=config)