mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-04 11:07:51 +00:00
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:
parent
345ad0a010
commit
97d4485455
@ -97,7 +97,7 @@ acrn-dm -A -m $mem_size -s 0:0,hostbridge -U d2795438-25d6-11e8-864e-cb7a18b3464
|
|||||||
$logger_setting \
|
$logger_setting \
|
||||||
-s 6,virtio-blk,./win10-ltsc.img \
|
-s 6,virtio-blk,./win10-ltsc.img \
|
||||||
-s 7,virtio-net,tap_WaaG \
|
-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 \
|
--ovmf /usr/share/acrn/bios/OVMF.fd \
|
||||||
$intr_storm_monitor \
|
$intr_storm_monitor \
|
||||||
-s 31:0,lpc \
|
-s 31:0,lpc \
|
||||||
|
@ -230,7 +230,7 @@ def gvt_arg_set(dm, vmid, uos_type, config):
|
|||||||
bus = int(gpu_bdf[0:2], 16)
|
bus = int(gpu_bdf[0:2], 16)
|
||||||
dev = int(gpu_bdf[3:5], 16)
|
dev = int(gpu_bdf[3:5], 16)
|
||||||
fun = int(gpu_bdf[6:7], 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:
|
elif gvt_args:
|
||||||
print(' -s 2,pci-gvt -G "$2" \\', file=config)
|
print(' -s 2,pci-gvt -G "$2" \\', file=config)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user