[libvirt PATCH 5/7] api: add virNodeDeviceIsPersistent()/IsActive()
Daniel P. Berrangé
berrange at redhat.com
Fri Jun 4 08:14:30 UTC 2021
On Thu, Jun 03, 2021 at 03:11:54PM -0500, Jonathon Jongsma wrote:
> These two public APIs are implemented for almost all other objects that
> have a concept of persistent definition and activatability. Now that we
> have node devices (mdevs) that can be defined and inactive, it will be
> useful to query the persistent/active state of node devices as well.
>
> Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>
> ---
> include/libvirt/libvirt-nodedev.h | 4 ++
> src/driver-nodedev.h | 8 ++++
> src/libvirt-nodedev.c | 65 +++++++++++++++++++++++++++++++
> src/libvirt_public.syms | 2 +
> src/remote/remote_driver.c | 2 +
> src/remote/remote_protocol.x | 32 ++++++++++++++-
> src/remote_protocol-structs | 14 +++++++
> 7 files changed, 126 insertions(+), 1 deletion(-)
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list