qemu: Narrow the shutdown reconnection failure reason window
qemu: Narrow the shutdown reconnection failure reason window

The current qemuProcessReconnect logic paints a broad brush
determining that the shutdown reason must be crashed if it was
determined that the domain was started with -no-shutdown; however,
there's many other ways to get to the error label, so let's narrow
our reasoning window for using VIR_DOMAIN_SHUTOFF_CRASHED to the
period where we essentially know we've tried to create to the
monitor and before we were successful in opening the connection.

Failures that occur outside that window would thus be considered
as VIR_DOMAIN_SHUTOFF_UNKNOWN, at least for now.

Signed-off-by: John Ferlan <87558058f6f829e5ec976c8ef960720af4ff9c7d@redhat.com>
ACKed-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

jfehlig/libvirt,eskultety/libvirt,crobinso/libvirt,zippy2/libvirt,jfehlig/libvirt,libvirt/libvirt,zippy2/libvirt,jardasgit/libvirt,olafhering/libvirt,libvirt/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,eskultety/libvirt,andreabolognani/libvirt,jardasgit/libvirt,olafhering/libvirt,jfehlig/libvirt,jardasgit/libvirt,nertpinx/libvirt,eskultety/libvirt,olafhering/libvirt,fabianfreyer/libvirt,crobinso/libvirt,zippy2/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,andreabolognani/libvirt,crobinso/libvirt,olafhering/libvirt,eskultety/libvirt,andreabolognani/libvirt,eskultety/libvirt,zippy2/libvirt,libvirt/libvirt,libvirt/libvirt,jfehlig/libvirt,jardasgit/libvirt,andreabolognani/libvirt,nertpinx/libvirt,crobinso/libvirt,nertpinx/libvirt