Article 51RB4 Qemu/VMS, new guest not cooperating with passed-through GPU despite working on old guest.

Qemu/VMS, new guest not cooperating with passed-through GPU despite working on old guest.

by
lawnm0wer
from LinuxQuestions.org on (#51RB4)
Well, this is a real barrel of what the fsck for me.

Currently using windows 7 as guest OS.

I had managed to successfully pass my Sapphire RX 480 Nitro + to a windows 7 guest using Qemu/VMS- mostly on accident. Now despite the issue of the guest bluescreening once and then working after the second startup at times, it still worked, and that was good enough for me.

Then, I found out that my guest was having issues with USB devices, I made a thread about that. (Link) I then found this stackexchange link which basically had my precise problem (Link). The problem was, my then guest wouldn't start at all if I ran it with -M q35.

So I opted to make a new guest on a new image. but my freshly untangled yarn string has gone and knotted up again. Now, I can't figure out why my GPU is giving me error 43 in the device manager, when it works on my other guest image.

What outputs do I need to diagnose this issue and finally untangle this darn ball of yarn?

Code:## vms.conf

declare -A avm

avm[name]=avm #Machine name
avm[uuid]='691fe360-073e-4ee3-890a-10c10d3e4080' #Machine's uuidgen ID
avm[mem]=2048 #machine's Ram
avm[smp]=4 #CPU cores used for machine
avm[arch]=x86_64 #Machine CPU Architecture
avm[disk0]='/home/(user)/.vms/avm/hd.img' #Current guest
avm[disk1]='/home/(user)/.vms/avm/disk.img' #previous guest

avm[kvm]=yes
avm[log]=yes
avm[serial]=yes
avm[monitor]=yes

avm[extra0]='-usb -device usb-kbd -device usb-mouse -device usb-host,vendorid=0x1058,productid=0x259d' # Enable USB Devices
avm[extra1]='-M q35'
avm[extra2]='-device vfio-pci,host=07:00.0,romfile=/home/(user)/.vms/avm/Sapphire.RX480.4096.161121.rom' # Connect to the unbound GPUlatest?d=yIl2AUoC8zA latest?i=zzxku9n58dk:sSlU0mPLgQw:F7zBnMy latest?i=zzxku9n58dk:sSlU0mPLgQw:V_sGLiP latest?d=qj6IDK7rITs latest?i=zzxku9n58dk:sSlU0mPLgQw:gIN9vFwzzxku9n58dk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments