John Paul Adrian Glaubitz
2020-Dec-19 21:25 UTC
virt-manager connection fails with 'qemu unexpectedly closed the monitor'
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?
Thanks,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Michal Privoznik
2021-Jan-04 19:44 UTC
virt-manager connection fails with 'qemu unexpectedly closed the monitor'
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