]> xenbits.xensource.com Git - libvirt.git/commit
src: define virDomainGetMessages API
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 22 Jan 2021 14:48:49 +0000 (14:48 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 12 Feb 2021 09:19:12 +0000 (09:19 +0000)
commitc80911f2de4e8aefe4ba385e4eead64ecf0d666e
tree5e3615b4c1167fa8175f19835a2e08f93e73536f
parent17f001c4512929eb68fa67fc1b3520a214c78fed
src: define virDomainGetMessages API

This API allows fetching a list of informational messages recorded
against the domain. This provides a way to give information about
tainting of the guest due to undesirable actions/configs, as well
as provide details of deprecated features.

The output of this API is explicitly targetted at humans, not
machines, so it is inappropriate to attempt to pattern match on
the strings and take action off them, not least because the messages
are marked for translation.

Should there be a demand for machine targetted information, this
would have to be addressed via a new API, and is not planned at
this point in time.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
include/libvirt/libvirt-domain.h
src/driver-hypervisor.h
src/libvirt-domain.c
src/libvirt_public.syms