Re: [libvirt] [PATCH 07/15] nodedev: Introduce virNodeDeviceCapsListExport

2018-01-26 Thread Wuzongyong (Euler Dept)
> -Original Message- > From: libvir-list-boun...@redhat.com [mailto:libvir-list- > boun...@redhat.com] On Behalf Of Erik Skultety > Sent: Thursday, January 25, 2018 5:24 PM > To: libvir-list@redhat.com > Cc: Erik Skultety <eskul...@redhat.com> > Subject: [lib

Re: [libvirt] [PATCH 07/15] nodedev: Introduce virNodeDeviceCapsListExport

2018-01-26 Thread Michal Privoznik
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. >

[libvirt] [PATCH 07/15] nodedev: Introduce virNodeDeviceCapsListExport

2018-01-25 Thread Erik Skultety
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 ---