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

Re: [libvirt] [PATCH 1/8] Add event callbacks to libxl driver



Am Donnerstag 24 März 2011 17:24:26 schrieb Jim Fehlig:
> Markus Groß wrote:
> > @@ -225,6 +284,9 @@ static void libxlEventHandler(int watch,
> >          switch (info.shutdown_reason) {
> >              case SHUTDOWN_poweroff:
> >              case SHUTDOWN_crash:
> > +                dom_event = virDomainEventNewFromObj(vm,
> > +                                                    
> > VIR_DOMAIN_EVENT_STOPPED, +                                              
> >       VIR_DOMAIN_EVENT_STOPPED_CRASHED);
>
> I don't think we want the CRASHED detail in case of a normal poweroff :-).

Yes, I will fix this in a v2.


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