Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qemu-system-x86_64: vfio: Cannot reset device 0000:00:1f.3, no available reset mechanism. #2

Open
dantahoua opened this issue Jun 25, 2021 · 6 comments

Comments

@dantahoua
Copy link

I cannot install the Windows 10 driver in the VM probably because of this message when strat QEmu...
qemu-system-x86_64: vfio: Cannot reset device 0000:00:1f.3, no available reset mechanism.

Also do I have to use this qemu and generate it from source or can I use the regular qemu-kvm from ubuntu? (I'm on popOs)

@dantahoua
Copy link
Author

Tried with this version of qemu and still the same error... :(

@ryanprescott
Copy link
Owner

ryanprescott commented Jun 26, 2021 via email

@dantahoua
Copy link
Author

Thanks, Yes I'm passing all the group with
sudo ./vfio-bind.sh 0000:00:1f.0 0000:00:1f.3 0000:00:1f.4 0000:00:1f.5
Do I have to pass them also to the start script to Qemu? The main address is 00:1f.3

@ryanprescott
Copy link
Owner

Hi, yes I believe you may need to pass them all in.

@aleksfadini
Copy link

aleksfadini commented Jul 17, 2022

Thanks, Yes I'm passing all the group with sudo ./vfio-bind.sh 0000:00:1f.0 0000:00:1f.3 0000:00:1f.4 0000:00:1f.5 Do I have to pass them also to the start script to Qemu? The main address is 00:1f.3

I am dealing with the same issue. How do you pass the to the start script to qemu?

I tried both

sudo qemu-system-x86_64 -enable-kvm -hda win10.img -m 4G -smp 4 -device vfio-pci,host="0000:00:1f.0 0000:00:1f.3 0000:00:1f.4 0000:00:1f.5",x-no-mmap=true -trace events=./events.txt -monitor stdio

and

sudo qemu-system-x86_64 -enable-kvm -hda win10.img -m 4G -smp 4 -device vfio-pci,host=0000:00:1f.3,x-no-mmap=true -trace events=./events.txt -monitor stdio

Neither seems to work. My soundcard is 1f.3, but I need to bind 1f.0, 1f.4 and 1f.5 as well (which I did bind with the vfio script as you did in this thread).

@dgunay
Copy link

dgunay commented May 19, 2024

I tried adding a separate -device flag for each device, but that just made the error appear for all the devices I added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants