Re: [PATCH 00/21] qemu: Refactor domstats code to avoid error reporting

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

 



On Mon, Feb 24, 2025 at 10:42:05 +0100, Peter Krempa wrote:
> On Mon, Feb 24, 2025 at 09:33:51 +0000, Daniel P. Berrangé wrote:
> > On Thu, Feb 20, 2025 at 10:01:13AM +0100, Peter Krempa wrote:
> > > The workers of qemuDomainGetStats should not report errors if they can't
> > > fetch data; but rather omit the entries. Refactor the code to
> > > de-incentivize error reporting.
> > 
> > Why shouldn't they report errors ?

N.B: The error reporting infrastructure that was present and is removed
by this patch existed solely for reporting allocation errors when adding
the results to the list and the originally implemnted workers never
reported errors when fetching actual data; just irrecoverable
daemon-side errors.

It's just the new workers that did report errors, which was very likely
based on the fact that the callback function did require an error code
to be returned.




[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