1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
KVM: 0.896
ppc: 0.668
x86: 0.663
architecture: 0.661
graphic: 0.637
device: 0.615
kernel: 0.480
PID: 0.444
semantic: 0.435
performance: 0.432
mistranslation: 0.383
boot: 0.296
peripherals: 0.293
debug: 0.273
VMM: 0.265
TCG: 0.214
virtual: 0.212
hypervisor: 0.181
socket: 0.181
network: 0.176
register: 0.160
vnc: 0.155
arm: 0.139
user-level: 0.120
permissions: 0.114
risc-v: 0.082
assembly: 0.073
files: 0.025
i386: 0.018
QEMU KVM IGD SandyBridge Passthrough crash
I try to passthrough my Intel GPU with this command:
qemu-system-x86_64 -nodefaults -parallel none -k de -rtc base=localtime -serial unix:/run/qemu/win7-serial.sock,server,nowait -monitor unix:/run/qemu/win7-monitor.sock,server,nowait -netdev user,id=net0 -device virtio-net-pci,netdev=net0,mac=52:54:00:00:00:07 -device vfio-pci,host=0000:00:02.0,addr=0x2 -device vfio-pci,host=0000:00:1b.0 -device virtio-keyboard-pci -device virtio-mouse-pci -object input-linux,id=kbd1,evdev=/dev/input/by-path/pci-0000:00:1a.0-usb-0:1.2.2:1.2-event-kbd,grab_all=on,repeat=on -object input-linux,id=mouse1,evdev=/dev/input/by-path/pci-0000:00:1a.0-usb-0:1.2.2:1.2-event-mouse -enable-kvm -cpu host -smp 4,sockets=1,cores=4,threads=1 -vga none -display none -m 2g -device virtio-blk-pci,drive=boot,bootindex=1 -drive file=/opt/vm/qcow2/win7.qcow2,format=qcow2,if=none,id=boot
This ONLY works if i remove "-enable-kvm" else the windows (7 and 10) boot crashes in bluescreen "stop 0x0000003b" (probably while loading the intel gpu driver (intel graphics 3000).
The system is an older ThinkPad T420 with Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz.
CMDLINE: BOOT_IMAGE=/vmlinuz-linux root=LABEL=root rw ipv6.disable=0 net.ifnames=0 intel_iommu=on iommu=pt video=LVDS-1:d
Solved: I added kvm.ignore_msrs=1 to kernel parameter!
I'm closing this now since there seems to be a workaround available and nobody updated this bug in the past 1.5 years anymore
|