disp-vms were great - if they worked.

65 views
Skip to first unread message

haaber

unread,
Mar 13, 2017, 3:33:29 AM3/13/17
to qubes-users
The DispVM's make me crazy. Last week (with your generous help) finally
dispVM with debian template worked. Now --without any change that I am
aware of-- it does again not. I tried to start it within dom0 - that
way I get a max of error messages. ("the DVM savefile creation failed"
is kind of unspecific).


[me@dom0 ~]$ echo xterm | /usr/lib/qubes/qfile-daemon-dvm qubes.VMShell
dom0 DEFAULT red
time=1489389887.32, qfile-daemon-dvm init
time=1489389887.32, creating DispVM
Can't get domid of domain name 'debian-8', maybe this domain does not exist.
--> Creating volatile image:
/var/lib/qubes/appvms/debian-8-dvm/volatile.img...
--> Loading the VM (type = AppVM)...
Traceback (most recent call last):
File "/usr/bin/qvm-start", line 136, in <module>
main()
File "/usr/bin/qvm-start", line 120, 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/000QubesVm.py",
line 1942, in start
self._update_libvirt_domain()
File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py",
line 755, in _update_libvirt_domain
raise e
libvirt.libvirtError: operation failed: domain 'debian-8-dvm' already
exists with uuid 603478e2-2d9f-4b27-c052-2910eaf6819b8


So, once again, it is libvirt / virsh. But what is it this time?? Sigh
of despair! Thank you for helping once more.

Bernhard

Jean-Philippe Ouellet

unread,
Mar 13, 2017, 4:40:27 AM3/13/17
to haaber, qubes-users
On Sun, Mar 12, 2017 at 6:47 PM, haaber <haa...@web.de> wrote:
> [me@dom0 ~]$ echo xterm | /usr/lib/qubes/qfile-daemon-dvm qubes.VMShell
...
> libvirt.libvirtError: operation failed: domain 'debian-8-dvm' already exists with uuid 603478e2-2d9f-4b27-c052-2910eaf6819b8


See if you already have a `debian-8-dvm` vm running (just with no
windows visible).

You can enable "View->Show/Hide Internal VMs" (internal, not just
inactive) in qubes-manager to see it if so.

(or use qvm-ls & qvm-shutdown)

Nick Darren

unread,
Mar 13, 2017, 4:46:01 AM3/13/17
to haaber, qubes...@googlegroups.com

in 'dom0', you can check it using:

$ virsh -c xen:/// list

then 'undefine' the dvm template as shown above and try again after that.

$ virsh -c xen:/// undefine debian-8-dvm

signature.asc

haaber

unread,
Mar 13, 2017, 2:48:35 PM3/13/17
to Nick Darren, qubes...@googlegroups.com
Update:

>> The DispVM's make me crazy. Last week (with your generous help)
>> finally dispVM with debian template worked. Now --without any change
>> that I am aware of-- it does again not. I tried to start it within
>> dom0 - that way I get a max of error messages. ("the DVM savefile
>> creation failed" is kind of unspecific).

Jean Quellets hint qvm-ls & qvm-shutdown was not applicable, nothing was
running that I could have shut down...

On 03/13/2017 09:45 AM, Nick Darren wrote:
>in 'dom0', you can check it using:
>
>$ virsh -c xen:/// list
>
>then 'undefine' the dvm template as shown above and try again after >that.=
>
>
>$ virsh -c xen:/// undefine debian-8-dvm

The list contained nothing important to mention here, but the undefine &
retry command worked. Thanks!

That is a strange command to memorise just to start a disp-vm :)) Bernhard
Reply all
Reply to author
Forward
0 new messages