Open lifeformg opened 1 year ago
Does adding --enable-vfio-user-server
to the configure
script invocation help?
Does adding
--enable-vfio-user-server
to theconfigure
script invocation help?
This doesn't work, the error remains the same without any changes. And if I understand correctly, in this case qemu should work as a vfio-user client? (I created the server using spdk vfio-user/nvmf)
I compiled qemu with the following command, but encountered the error message: ”'vfio-user-pci' is not a valid device model name“ when running it.
The command that has been executed is:
./build/qemu-system-x86_64 --enable-kvm -cpu host -smp 4 -m 2G -object memory-backend-file,id=mem0,size=2G,mem-path=/dev/hugepages,share=on -numa node,memdev=mem0 -drive file=focal-server-cloudimg-amd64.img,if=none,id=disk -device ide-hd,drive=disk,bootindex=0 -device vfio-user-pci,socket=/var/run/cntrl -vnc :5 -net user,hostfwd=tcp::2333-:22
I am running qemu in a nested virtualization platform (ubuntu20.04).