Re: [PATCH 2/4] qemu: monitor: Add infrastructure to access VM logs for better err msgs

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

 



On 09/19/2013 11:23 AM, Peter Krempa wrote:
> Early VM startup errors usually produce a better error message in the
> machine log file. Currently we were accessing it only when the process
> exited during certain phases of startup. This will help adding a more
> comprehensive error extraction for early qemu startup phases.
> 
> This patch adds infrastructure to keep a file descriptor for the machine
> log file that will be used in case an error happens.
> ---
>

Is there any reason why we need to duplicate the file descriptor instead of
opening the log again in qemuMonitorIO when it hangs up?

You wouldn't have to worry about the position in 4/4 and add this variable to
the monitor that's only valid at the start.

Jan

--
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]