virt-manager connection fails with 'qemu unexpectedly closed the monitor'

Michal Privoznik mprivozn at redhat.com
Mon Jan 4 19:44:00 UTC 2021


On 12/19/20 10:22 PM, John Paul Adrian Glaubitz wrote:
> Hi!
> 
> I recently ran into a problem when connecting to libvirtd 6.9.0 on Debian unstable
> and trying to import an existing image with Windows 7.
> 
> Upon finishing the wizard and starting the instance, the import process fails
> with the following error message:
> 
> Unable to complete install: 'internal error: qemu unexpectedly closed the monitor'
> 
> Traceback (most recent call last):
>    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in cb_wrapper
>      callback(asyncjob, *args, **kwargs)
>    File "/usr/share/virt-manager/virtManager/createvm.py", line 2081, in _do_async_install
>      installer.start_install(guest, meter=meter)
>    File "/usr/share/virt-manager/virtinst/install/installer.py", line 731, in start_install
>      domain = self._create_guest(
>    File "/usr/share/virt-manager/virtinst/install/installer.py", line 679, in _create_guest
>      domain = self.conn.createXML(install_xml or final_xml, 0)
>    File "/usr/lib64/python3.8/site-packages/libvirt.py", line 4366, in createXML
>      raise libvirtError('virDomainCreateXML() failed')
> libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor
> 
> Since this error message is rather generic, I don't know where to start debugging.
> 
> Does anyone know how to increase verbosity here to get an error message that might be
> more helpful?

There should be a more verbose message in /var/log/libvirt/qemu/$domain.log.

Michal




More information about the libvirt-users mailing list