On Thu, Apr 04, 2019 at 11:59:50 +0200, Bjoern Walk wrote:
> Daniel P. Berrangé <[email protected]> [2019-04-04, 09:49AM +0100]:
> > On Thu, Apr 04, 2019 at 10:01:27AM +0200, Bjoern Walk wrote:

[...]

> > Why not just have  virDomainGetPanicInfo() and "virsh dompanicinfo"
> 
> Do we want to later add an additional public API function per state that
> implements any additional information?

Any elaboration on the additional information you'd want to report?

We have 
https://libvirt.org/html/libvirt-libvirt-domain.html#virConnectGetAllDomainStats
which is able to report any information including state info
(VIR_DOMAIN_STATS_STATE) using typed parameters. The API works even for
inactive VMs so should be usable in this case.

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to