Re: [PATCH v2 3/3] qemu: Narrow the shutdown reconnection failure reason window

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

 



On 11/01/2018 05:04 PM, John Ferlan wrote:
> 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 <jferlan@xxxxxxxxxx>
> ---
>  src/qemu/qemu_process.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

ACK

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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