foxlet / vmra1n

Guide on setting up checkra1n in QEMU.
63 stars 24 forks source link

'pci-root-port' is not a valid device model name #14

Open xGapples opened 4 years ago

xGapples commented 4 years ago

Followed all the steps, VM boots, but after adding the -device arguments to basic.sh, it will not start and throws such error.

daniel@Cruiser:~$ cd macOS-Simple-KVM daniel@Cruiser:~/macOS-Simple-KVM$ sudo ./basic.sh [sudo] password for daniel: ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave alsa: Could not initialize DAC alsa: Failed to open default': alsa: Reason: No such file or directory ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave alsa: Could not initialize DAC alsa: Failed to opendefault': alsa: Reason: No such file or directory audio: Failed to create voice `dac' qemu-system-x86_64: -device pci-root-port,bus=pcie.0,multifunction=on,port=1,chassis=1,id=port.1: 'pci-root-port' is not a valid device model name

Running Ubuntu 19.10, already tried the usual updating etc.

Any help is appreciated, thank you.

foxlet commented 4 years ago

It's pcie-root-port, with an e.

xGapples commented 4 years ago

ok thank you very much. not sure how I missed that.

I'm now facing a new issue though:

qemu-system-x86_64: -device vfio-pci,host=04:00.3,bus=port.1: vfio 0000:04:00.3: failed to open /dev/vfio/12: No such file or directory

Obviously it can't find what should be there, but I don't know what should be there.

foxlet commented 4 years ago

Did you properly rebind the device?