where can i find the sourcecode from virDomainDestroy ?

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

 



Hi,

i have some questions concerning the destroying of domains, and i hope i'm right here. If not sorry for the disturbance.
I'm running a two node HA cluster with pacemaker and KVM domains as resources.
>From time to time when i try to stop a domain with the cluster manager that does not work, so the domain is destroyed.
That's ok.
But seldom and irregular also destroy does not work, so the node this domain is running on is fenced.
That's ugly. Fencing is the worst which can happen to a cluster and i try to avoid it.
Maybe destroy does not work because of heavy load, i'm currently examing that.

I installed the source package from libvirt-4.0.0, i have a SLES 12 SP4.
I found a virsh-domain.c which i assume is responsible for the domains. Right ?
I found a function called "virDomainDestroy", which i believe has the purpose to destroy the domain. Right ?
But i don't find the source for that function. I greped the whole source code for it, but didn't find it.
I'd like to know what this function returns in success or failure.

Could you please help me ?

Thanks.


Bernd

-- 

Bernd Lentes 
Systemadministration 
Institute for Metabolism and Cell Death (MCD) 
Building 25 - office 122 
HelmholtzZentrum München 
bernd.lentes@xxxxxxxxxxxxxxxxxxxxx 
phone: +49 89 3187 1241 
phone: +49 89 3187 3827 
fax: +49 89 3187 2294 
http://www.helmholtz-muenchen.de/mcd 

stay healthy
Helmholtz Zentrum München

Helmholtz Zentrum München





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux