Integrated Graphics Passthrough through QEMU
0
votes
0
answers
264
views
I'm having a laptop with i5-10210U, using it as a server-station. I am trying to passthrough the integrated Graphics Card to a VM using QEMU with this command, modified by fallowing this tutorial :
virt-install --name windows11 --ram=8192 --vcpus=8 --machine q35 \
--device vfio-pci,host=00:02.0 --cpu host --hvm --disk path=w11vml,size=80 \
-object input-linux,id=kbd,evdev=/dev/input/by-path/platform-i8042-serio-0-event-kbd
--cdrom W11.iso --graphics vnc,port=5901,listen=0.0.0.0,passwd='123456'
response:
virt-install: error: unrecognized arguments: --device vfio-pci,host=00:02.0
[alongside with -object input-linux]
My problem is that I don't know how to translate the
qemu-system-x86_64
arguments to virt-install
after running the detaching script disabling the GPU on host, which would be:
sudo qemu-system-x86_64 -machine q35 -m 2G -accel kvm -cpu host \
-device vfio-pci,host=00:02.0 -nographic -vga none \
-object input-linux,id=kbd,evdev=/dev/input/by-path/platform-i8042-serio-0-event-kbd \
-cdrom Fedora-Workstation-Live-x86_64-29-1.2.iso
Additional info: VT-d is enabled in BIOS, OS: AlmaLinux9
I know the args could be very wrong, especially with graphics vnc
args one, as it needs to be forced to fallback to the integrated graphics, but any corrections would be very helpfull.. I'm new to this "business" :D
Asked by Bestmank
(1 rep)
Jan 26, 2025, 11:02 PM
Last activity: Jan 26, 2025, 11:19 PM
Last activity: Jan 26, 2025, 11:19 PM