Re: 'virsh list' issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux