QEMU vga passthrough ubuntu

Hello everyone, I am attempting to do a vga passthrough on ubuntu 14.04. I believe I got all of my files correct following guides online. However, whenever I go to start my scripts for the vm, I get:

cat: /sys/bus/pci/devices/0000.01:00.0/vendor: No such file or directory
cat: /sys/bus/pci/devices/0000.01:00.0/device: No such file or directory
./vm1: line 12: echo: write error: Invalid argument
cat: /sys/bus/pci/devices/0000.01:00.1/vendor: No such file or directory
cat: /sys/bus/pci/devices/0000.01:00.1/device: No such file or directory
./vm1: line 12: echo: write error: Invalid argument
qemu-system-x86_64: -cpu host,: could not open disk image kvm=off: Could not open 'kvm=off': No such file or directory
./vm1: line 27: -device: command not found

I think I am not blacklisting my card correctly. I am using two amd cards. I cannot seem to find a fix for this, thank you for all your help!

Hi, I just got stuck on the same problem, did you find a solution ?