--> Loading the VM (type = TemplateHVM)...
Traceback (most recent call last):
File "/usr/bin/qvm-start", line 131, in <module>
main()
File "/usr/bin/qvm-start", line 115, in main
xid = vm.start(verbose=options.verbose, preparing_dvm=options.preparing_dvm, start_guid=not options.noguid, notify_function=tray_notify_generic if options.tray else None)
File "/usr/lib64/python2.7/site-packages/qubes/modules/02QubesTemplateHVm.py", line 94, in start
return super(QubesTemplateHVm, self).start(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/qubes/modules/01QubesHVm.py", line 326, in start
return super(QubesHVm, self).start(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py", line 1876, in start
self.libvirt_domain.createWithFlags(libvirt.VIR_DOMAIN_START_PAUSED)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1059, in createWithFlags
if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
libvirt.libvirtError: internal error: libxenlight failed to create new domain 'win7-x64'
After that I can't start ANY VM without first rebooting Qubes:
Starting a HVM template:
--> Loading the VM (type = TemplateHVM)...
ERROR: ERROR: Failed to connect to qmemman: [Errno 111] Connection refused
Starting a PV template:
--> Loading the VM (type = TemplateVM)...
ERROR: ERROR: Failed to connect to qmemman: [Errno 111] Connection refused
Starting a normal VM:
--> Creating volatile image: /var/lib/qubes/appvms/untrusted/volatile.img...
--> Loading the VM (type = AppVM)...
ERROR: ERROR: Failed to connect to qmemman: [Errno 111] Connection refused
By the way this are the log files:
libxl-driver.log:
2016-01-10 16:39:25 CET libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block-origin add [6265] exited with error status 1
2016-01-10 16:39:25 CET libxl: error: libxl_device.c:1084:device_hotplug_child_death_cb: script: /var/lib/qubes/vm-templates/win7-x64/root-cow.img does not exist.
2016-01-10 16:39:25 CET libxl: error: libxl_create.c:1177:domcreate_launch_dm: unable to add disk devices
2016-01-10 16:39:25 CET libxl: error: libxl_dm.c:2031:libxl__destroy_device_model: xs_rm failed for /local/domain/0/device-model/14
2016-01-10 16:39:25 CET libxl: error: libxl_dm.c:1983:kill_device_model: unable to find device model pid in /local/domain/14/image/device-model-pid
2016-01-10 16:39:25 CET libxl: error: libxl.c:1643:libxl__destroy_domid: libxl__destroy_device_model failed for 14
2016-01-10 16:39:25 CET libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block-origin remove [6356] exited with error status 1
2016-01-10 16:39:25 CET libxl: error: libxl_device.c:1084:device_hotplug_child_death_cb: script: /etc/xen/scripts/block-origin failed; error detected.
journalctl -u qubes-qmemman:
Jan 10 16:33:36 dom0 systemd[1]: Started Qubes memory management daemon.
Jan 10 16:33:42 dom0 systemd[1]: qubes-qmemman.service: main process exited, code=exited, status=1/FAILURE
Jan 10 16:33:42 dom0 systemd[1]: Unit qubes-qmemman.service entered failed state.
But anyway: Thanks Marek for always being that patient!
cd /var/lib/qubes/vm-templates/win7-x64
rm root-cow.img
qvm-start win7-x64
--> Loading the VM (type = TemplateHVM)...
Traceback (most recent call last):
File "/usr/bin/qvm-start", line 131, in <module>
main()
File "/usr/bin/qvm-start", line 115, in main
xid = vm.start(verbose=options.verbose, preparing_dvm=options.preparing_dvm, start_guid=not options.noguid, notify_function=tray_notify_generic if options.tray else None)
File "/usr/lib64/python2.7/site-packages/qubes/modules/02QubesTemplateHVm.py", line 94, in start
return super(QubesTemplateHVm, self).start(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/qubes/modules/01QubesHVm.py", line 326, in start
return super(QubesHVm, self).start(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py", line 1876, in start
self.libvirt_domain.createWithFlags(libvirt.VIR_DOMAIN_START_PAUSED)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1059, in createWithFlags
if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
libvirt.libvirtError: internal error: libxenlight failed to create new domain 'win7-x64'
Again:
qvm-start win7-x64
--> Loading the VM (type = TemplateHVM)...
ERROR: ERROR: Failed to connect to qmemman: [Errno 111] Connection refused
Obviously qmemman crashes.
tail -f /var/log/qubes/qmemman.log tells me that nothing gets written to the log on failure.