Error Name: EINVAL
Error Code: 22
Reason: internal error: QEMU unexpectedly closed the monitor (vm=‘0ec2464b-9718-45c8-a102-f163164665b5’): 2026-04-16T20:58:27.755920Z qemu-system-x86_64: warning: This family of AMD CPU doesn’t support hyperthreading(2). Please configure -smp options properly or try enabling topoext feature.
2026-04-16T20:58:27.844120Z qemu-system-x86_64: -device {“driver”:“usb-host”,“hostdevice”:“/dev/bus/usb/001/002”,“id”:“hostdev0”,“bus”:“usb.0”,“port”:“1”}: Warning: speed mismatch trying to attach usb device “USB Host Device” (high speed) to bus “usb.0”, port “1” (full speed)
2026-04-16T20:58:31.456171Z qemu-system-x86_64: -device {“driver”:“usb-host”,“hostdevice”:“/dev/bus/usb/001/002”,“id”:“hostdev0”,“bus”:“usb.0”,“port”:“1”}: failed to open host usb device /dev/bus/usb/001/002
Error Class: libvirtError
Trace: Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/api/base/server/ws_handler/rpc.py”, line 387, in process_method_call
result = await method.call(app, id_, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py”, line 57, in call
result = await self.middleware.call_with_audit(self.name, self.serviceobj, methodobj, params, app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
message_id=id_)
^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1118, in call_with_audit
result = await self._call(method, serviceobj, methodobj, params, app=app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
audit_callback=audit_callback_messages.append, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 945, in _call
return await self.run_in_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
…<4 lines>…
)
^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 798, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.13/concurrent/futures/thread.py”, line 59, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3/dist-packages/middlewared/api/base/decorator.py”, line 217, in wrapped
result = func(*args)
File “/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_lifecycle.py”, line 55, in start
self.middleware.libvirt_domains_manager.vms.start(self.pylibvirt_vm(vm, options))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/truenas_pylibvirt/domain/manager.py”, line 77, in start
if libvirtd_domain.create() < 0:
~~~~~~~~~~~~~~~~~~~~~~^^
File “/usr/lib/python3/dist-packages/libvirt.py”, line 1390, in create
raise libvirtError(‘virDomainCreate() failed’)
libvirt.libvirtError: internal error: QEMU unexpectedly closed the monitor (vm=‘0ec2464b-9718-45c8-a102-f163164665b5’): 2026-04-16T20:58:27.755920Z qemu-system-x86_64: warning: This family of AMD CPU doesn’t support hyperthreading(2). Please configure -smp options properly or try enabling topoext feature.
2026-04-16T20:58:27.844120Z qemu-system-x86_64: -device {“driver”:“usb-host”,“hostdevice”:“/dev/bus/usb/001/002”,“id”:“hostdev0”,“bus”:“usb.0”,“port”:“1”}: Warning: speed mismatch trying to attach usb device “USB Host Device” (high speed) to bus “usb.0”, port “1” (full speed)
2026-04-16T20:58:31.456171Z qemu-system-x86_64: -device {“driver”:“usb-host”,“hostdevice”:“/dev/bus/usb/001/002”,“id”:“hostdev0”,“bus”:“usb.0”,“port”:“1”}: failed to open host usb device /dev/bus/usb/001/002
Ryzen 7 8845 - VM worked previously.