[libvirt] [PATCH 07/15] nodedev: Introduce virNodeDeviceCapsListExport
Michal Privoznik
mprivozn at redhat.com
Fri Jan 26 11:40:01 UTC 2018
On 01/25/2018 10:23 AM, Erik Skultety wrote:
> Whether asking for a number of capabilities supported by a device or
> listing them, it's handled essentially by a copy-paste code, so extract
> the common stuff into this new helper which also updates all
> capabilities just before touching them.
>
> Signed-off-by: Erik Skultety <eskultet at redhat.com>
> ---
> src/conf/node_device_conf.c | 73 +++++++++++++++++++++++++++++++++++
> src/conf/node_device_conf.h | 5 +++
> src/libvirt_private.syms | 1 +
> src/node_device/node_device_driver.c | 75 +++++++++---------------------------
> 4 files changed, 97 insertions(+), 57 deletions(-)
ACK
Michal
More information about the libvir-list
mailing list