Re: [libvirt-users] domain reinitalization detection

2017-03-06 Thread Matczak, KrzysztofX
> Listen to the events I guess that would require running my own polling thread, right ? I wanted to avoid that ... Thanks for help On 06.03.2017 14:14, Matczak, KrzysztofX wrote: > Hello > > I'm trying to find out how to detect if domain was destroyed and brought up > between two time moment

Re: [libvirt-users] domain reinitalization detection

2017-03-06 Thread Michal Privoznik
On 06.03.2017 14:14, Matczak, KrzysztofX wrote: > Hello > > I'm trying to find out how to detect if domain was destroyed and brought up > between two time moments, let's call it reads. > So far the best approach I could find is to compare domain ID from previous > and current read. > And thi

[libvirt-users] domain reinitalization detection

2017-03-06 Thread Matczak, KrzysztofX
Hello I'm trying to find out how to detect if domain was destroyed and brought up between two time moments, let's call it reads. So far the best approach I could find is to compare domain ID from previous and current read. And this is my first question : is that reliable solution ? Or do you