Ubuntu KVM vGpu Hypervisor / Windows passthrough problem

Hello, this is my first post. I apologize if I do format mistakes.

I have a local server that runs with a Tesla P40. I got a 90 days license for it to try the passthrough on the windows vm. SoI installed the latest 535.183 vgpu drivers (last drivers support P40). It works on ubuntu side. I can nvidia-smi it and virtulization is seems okay under nvidia-smi.
I only have 1 gpu in the system and my intel cpu doesnt have integrated gpu.

I am using kvm dn managing my vm with virt-manager. I managed to install guest drivers but the device shows error code 12. I searhed for it and people solved the problem with editing qemu xml file with qemu commandline. Which is :

<qemu:arg value=“-fw_cfg”/>
<qemu:arg value=“opt/ovmf/X-PciMmio64Mb,string=65536”/>

After I added this to xml file windows vm throws bsod. I am sure I am making mistakes somewhere because I really struggled to get drivers working at the first place. So I am out of ideas. Can you help me out to trouble shoot this problem.

Any updates on this matter? Anybody that might help?