Re: [PATCH 1/2] qemu: Save qemuDomainGetStats error

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

 



On Tue, Nov 27, 2018 at 11:23:22AM -0500, John Ferlan wrote:
> During qemuConnectGetAllDomainStats if qemuDomainGetStats causes
> a failure, then when collecting more than one domain's worth of
> statistics the loop in virDomainStatsRecordListFree would call
> virDomainFree which would call virResetLastError effectively wiping

A (probably) silly question, but why do we have to call virResetLastError as
within virDomainFree in the first place?

Erik

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