[libvirt] [PATCH] fix segfault during virsh save in pv guest

2013-04-26 Thread Bamvor Jian Zhang
this patch fix the wrong sequence for fd and timeout register. the sequence was right in dfa1e1dd for fd register, but it changed in e0622ca2. in this patch, set priv, xl_priv in info and increase info-priv ref count before virEventAddHandle. if do this after virEventAddHandle, the fd callback or

Re: [libvirt] [PATCH] fix segfault during virsh save in pv guest

2013-04-26 Thread Jim Fehlig
Bamvor Jian Zhang wrote: this patch fix the wrong sequence for fd and timeout register. the sequence was right in dfa1e1dd for fd register, but it changed in e0622ca2. in this patch, set priv, xl_priv in info and increase info-priv ref count before virEventAddHandle. if do this after