On 08.03.2012 14:22, Felix Blanke wrote:
Hi,
well, you are not using the libvirt api to create the vm :) You need to
use something like "virt-install" and then start the vm via "virsh
start".
Afaik "virsh list" only shows machines which are using libvirt.
Yes & no. This depends on driver being used. There are several drivers
that doesn't need to connect to the libvirt daemon. Virsh is then used
to communicate with hypervisor directly - e.g. xenapi does this. And it
is hypervisor who keeps track of domains. That means, if one would
somehow create a domain behind libvirt back, virsh list would show it
anyway. NB this is not recommended.
However, qemu is not such hypervisor therefore your answer is correct. I
just wanted to clarify :)
Michal