Virtual machine on a intel 12th gen iGPU using kvm/qemu and looking-glass

Hello guys

I am fairly noob regarding nix/OS, only actively configuring and using it past 3-4 months, at last I made into relatively well organized and working NixOS configuration. Now What I want is to be able to setup virtual machine where I will be able to passthrough my intel integrated gpu into vm. I have past successful experience setting up virtual machine and using it for gaming on arch linux and additional GPU but have not done the same for iGPU only hardware.

My hardware is i7-12700H based laptop and afaik it supports sr-iov with extra patches to kernel(this is where its getting very confusing)

So what i want is

  • Set up a windows virtual machine
  • with virt-manager(libvirt, qemu, kvm)
  • having hardware acceleration in VM(being able to pass through iGPU slice with help of sr-iov)
  • eventually draw graphical output into looking-glass instance

I have searched a lot in internet but information was scarce and pretty confusing for me. I will be extremely happy if someone will link any guide or help me.

Thx in advance