From 858e7b24648d5b1255ec9579a0e3da1235e37cc8 Mon Sep 17 00:00:00 2001 From: "Liu,Junming" Date: Fri, 17 Sep 2021 13:47:01 +0000 Subject: [PATCH] doc: remove "gpu" parameter when pass-thru IGD remove "gpu" parameter when pass-thru IGD Tracked-On: #6357 Signed-off-by: Liu,Junming --- doc/tutorials/gpu-passthru.rst | 2 +- doc/tutorials/using_windows_as_uos.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/tutorials/gpu-passthru.rst b/doc/tutorials/gpu-passthru.rst index e1a153376..24ceea9e8 100644 --- a/doc/tutorials/gpu-passthru.rst +++ b/doc/tutorials/gpu-passthru.rst @@ -89,7 +89,7 @@ Passthrough the GPU to Guest echo "0000:00:02.0" > /sys/bus/pci/devices/0000:00:02.0/driver/unbind echo "0000:00:02.0" > /sys/bus/pci/drivers/pci-stub/bind - Replace ``-s 2,pci-gvt -G "$2" \`` with ``-s 2,passthru,0/2/0,gpu \`` + Replace ``-s 2,pci-gvt -G "$2" \`` with ``-s 2,passthru,0/2/0 \`` 4. Run ``launch_win.sh``. diff --git a/doc/tutorials/using_windows_as_uos.rst b/doc/tutorials/using_windows_as_uos.rst index ec0b330c8..335157bdc 100644 --- a/doc/tutorials/using_windows_as_uos.rst +++ b/doc/tutorials/using_windows_as_uos.rst @@ -104,7 +104,7 @@ Prepare the Script to Create an Image #for memsize setting mem_size=4096M acrn-dm -A -m $mem_size -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \ - -s 2,passthru,0/2/0,gpu \ + -s 2,passthru,0/2/0 \ -s 8,virtio-net,tap0 \ -s 4,virtio-blk,/home/acrn/work/win10-ltsc.img -s 5,ahci,cd:/home/acrn/work/Windows10.iso \ @@ -262,7 +262,7 @@ Explanation for acrn-dm Popular Command Lines .. note:: Use these acrn-dm command line entries according to your real requirements. -* ``-s 2,passthru,0/2/0,gpu``: +* ``-s 2,passthru,0/2/0``: This is GVT-d to passthrough the VGA controller to Windows. You may need to change 0/2/0 to match the bdf of the VGA controller on your platform.