Greetings
So I am trying to make a gaming vm
here is my system
Operating System: Kubuntu 22.04
Processors: 4 × Intel® Core™ i5-7400 CPU @ 3.00GHz
Memory: 7,7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630
Graphics Processor: Nvidia GeForce GTX 1050
I am using QEMU/KVM with Virtual Machine Manager
It seems that I managed to bind my GTX1050 to vfio-pci, if I run lspci -k I get this output
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050] (rev a1)
Subsystem: NVIDIA Corporation GP107 [GeForce GTX 1050]
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
Subsystem: NVIDIA Corporation GP107GL High Definition Audio Controller
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
Now the problem is that when I start my vm I get this error
Error starting domain: Requested operation is not valid: domain is already running
Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 72, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 108, in tmpcb
callback(*args, **kwargs)
File “/usr/share/virt-manager/virtManager/object/libvirtobject.py”, line 57, in newfn
ret = fn(self, *args, **kwargs)
File “/usr/share/virt-manager/virtManager/object/domain.py”, line 1384, in startup
self._backend.create()
File “/usr/lib/python3/dist-packages/libvirt.py”, line 1353, in create
raise libvirtError(‘virDomainCreate() failed’)
libvirt.libvirtError: Requested operation is not valid: domain is already running
I get this output from my GTX1050
Any suggestions?
thanks in advance