Hotplug to VM with 3055MB of memory ends same way:
internal error: błąd podczas wykonać polecenia QEMU „device_add”: vfio 0000:28:00.0: failed to setup container for group 27: memory listener initialization failed: Region mach-virt.ram: vfio_dma_map(0x55c1aca5c5c0, 0x40000000, 0xbef00000, 0x7f3549000000) = -22 (Invalid argument)
Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/addhardware.py", line 1327, in _add_device self.vm.attach_device(dev) File "/usr/share/virt-manager/virtManager/object/domain.py", line 920, in attach_device self._backend.attachDevice(devxml) File "/usr/lib64/python3.8/site-packages/libvirt.py", line 606, in attachDevice if ret == -1: raise libvirtError ('virDomainAttachDevice() failed', dom=self) libvirt.libvirtError: internal error: błąd podczas wykonać polecenia QEMU „device_add”: vfio 0000:28:00.0: failed to setup container for group 27: memory listener initialization failed: Region mach-virt.ram: vfio_dma_map(0x55c1aca5c5c0, 0x40000000, 0xbef00000, 0x7f3549000000) = -22 (Invalid argument)
Hotplug to VM with 3055MB of memory ends same way:
internal error: błąd podczas wykonać polecenia QEMU „device_add”: vfio 0000:28:00.0: failed to setup container for group 27: memory listener initialization failed: Region mach-virt.ram: vfio_dma_ map(0x55c1aca5c 5c0, 0x40000000, 0xbef00000, 0x7f3549000000) = -22 (Invalid argument)
Traceback (most recent call last): virt-manager/ virtManager/ addhardware. py", line 1327, in _add_device vm.attach_ device( dev) virt-manager/ virtManager/ object/ domain. py", line 920, in attach_device _backend. attachDevice( devxml) python3. 8/site- packages/ libvirt. py", line 606, in attachDevice chDevice( ) failed', dom=self) libvirtError: internal error: błąd podczas wykonać polecenia QEMU „device_add”: vfio 0000:28:00.0: failed to setup container for group 27: memory listener initialization failed: Region mach-virt.ram: vfio_dma_ map(0x55c1aca5c 5c0, 0x40000000, 0xbef00000, 0x7f3549000000) = -22 (Invalid argument)
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/lib64/
if ret == -1: raise libvirtError ('virDomainAtta
libvirt.