Z270 Extreme4 Mobo vt-d compatiable, UEFI, etc.
i7-7700k CPU
Intel HD Graphics 630

BIOS Settings
UEFI Mode
virtualization mode on (VT-d)
Onboard video as primary monitor 

I have tried many different combinations and spent hours reading everything I 
can but with no luck. Hopefully someone can catch something I'm missing because 
I'm very armature in this as I've only been at it for a couple weeks. In most 
cases I can get the VM to boot but end up with Code 43. Here's some info on 
config. I've tried q35 and 440fx, SeaBIOS and OVMF, hostpci0 and args -device, 
no combinations seem to work for me. I've read about rom modification and 
legacy mode but haven't found a good guide/walkthrough to go down that path. 
Not sure it's worth my time either (maybe it's the answer I need, maybe not). 
*shrug*

/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on video=efifb:off"

/etc/modprobe.d/vfio.conf
options vfio-pci ids=8086:5912

/etc/modprobe.d/kvm.conf
options kvm ignore_msrs=1

/etc/modprobe.d/blacklist.conf
blacklist snd_hda_intel
blacklist snd_hda_codec_hdmi
blacklist i915

/etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

/etc/pve/qemu-server/VM.conf (SeaBios, i440fx, agent enabled and installed - 
via virtio iso)
agent: 1
balloon: 2048
boot: scsi0
cores: 6
hostpci0: 00:02,x-vga=1
# tried all these in all combos: pcie=1,x-igd-opregion=on,x-igd-gms=1,rombar=0
ide0: nfs-share-iso:iso/virtio-win-0.1.190.iso,media=cdrom,size=489986K
memory: 8192
name: Windows10VM
net0: virtio=86:AB:B2:77:4B:FA,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: Guest-Vms:108/vm-108-disk-0.qcow2,backup=0,cache=writeback,size=50G
scsihw: virtio-scsi-pci
smbios1: uuid=c2164c93-3bf9-477c-a5a2-7e51c27cbb03
sockets: 1
vga: none
vmgenid: 02009c64-2500-4ea9-8b95-181ccbcede85

Now for the readings---------
It is in it's own iommu group (alone)

lspci -nnk
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 630 
[8086:5912] (rev 04)
        Subsystem: ASRock Incorporation HD Graphics 630 [1849:5912]
        Kernel driver in use: vfio-pci
        Kernel modules: i915

dmesg | grep -e DMAR -e IOMMU
DMAR: IOMMU enabled

dmesg | grep -i vfio
[    3.616945] VFIO - User Level meta-driver version: 0.3
[    3.619575] vfio-pci 0000:00:02.0: vgaarb: changed VGA decodes: 
olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    3.636598] vfio_pci: add [8086:5912[ffffffff:ffffffff]] class 
0x000000/00000000
[   52.905841] vfio-pci 0000:00:02.0: vfio_ecap_init: hiding ecap 0x1b@0x100
[   63.478371] vfio-pci 0000:00:02.0: vgaarb: changed VGA decodes: 
olddecodes=io+mem,decodes=io+mem:owns=io+mem
[18881.651063] vfio-pci 0000:00:02.0: vfio_ecap_init: hiding ecap 0x1b@0x100

As I said, these boot/hang to varying degrees but the best I can do is a 
successful boot, successful network connection, can see IGD in Device Manager 
but shows Code 43 no matter what I do.

What am I missing? I know this CPU/Mobo/Software is capable of this I just 
can't get it quite right. Any help anyone can offer is very much appreciated. I 
don't know all the lingo yet so go easy on me. Thanks!

_______________________________________________
vfio-users mailing list
vfio-users@redhat.com
https://listman.redhat.com/mailman/listinfo/vfio-users

Reply via email to