Re: [resent] virt-manager connection fails with 'qemu unexpectedly closed the monitor'
Hello! On 12/20/20 12:53 PM, John Paul Adrian Glaubitz wrote: > 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' > (...) > Does anyone know how to increase verbosity here to get an error message that > might be > more helpful? Just as a heads-up: This problem got resolved after a dist-upgrade which didn't upgrade libvirt but some Python packages so I assume that one or more Python packages needed an update or rebuild with Python 3.9. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
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 - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: [resent] virt-manager connection fails with 'qemu unexpectedly closed the monitor'
[bit 12] 2020-12-21T11:10:37.976089Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13] 2020-12-21 11:10:38.207+: shutting down, reason=failed > If the message there isn't illuminating enough and you come back here, it > would be helpful > to "bring along" that qemu commandline (and any accompanying error) as well > as the output > of "virsh dumpxml $guestname" Since libvirt won't create the guest instance in the first place, dumping the XML of the config like that won't work. However, it's possible to view the XML from the preview window in the machine details: windows7 bb32a4b5-7b2c-4ac2-9a65-8fd2bb9cdb86 http://libosinfo.org/xmlns/libvirt/domain/1.0;> http://microsoft.com/win/7"/> 4194304 4194304 2 hvm /usr/bin/qemu-system-x86_64 Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
[resent] 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 - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913