2011/4/27 Jan <jan(a)agetty.de>
so far so good. So what about the output? Do you get any exceptions
or
errors? If no virtual machines are up and running at the moment you will
still have to specify the "--all" parameter in order to list also offline
machines:
$ virsh -c qemu:///system 'list --all'
Maybe you could just try to run virsh in debug mode and figure out whats
happening when errors arise:
$ export LIBVIRT_DEBUG=1; $ virsh -c qemu:///system 'list'
I realized that this URI is not appropriate for my xen. I have tried as
root:
# virsh -c xen:/// list
Id Name State
----------------------------------
0 Domain-0 running
14 i-4E8D088D idle
As user eucalyptus:
$ virsh -c xen:/// list
Id Name State
----------------------------------
And as user eucalyptus with debug mode I got sth like this:
12:07:43.032: 22147: debug : xenUnifiedOpen:335 : Trying XenD sub-driver
12:07:43.032: 22147: debug : xenUnifiedOpen:364 : Handing off for remote
driver
12:07:43.032: 22147: debug : xenUnifiedOpen:393 : Failed to activate a
mandatory sub-driver
Do you need more output?
regards
Maciej