[libvirt] [PATCH v2 1/9] Implement virPCIIsAKnownStub function
Peter Krempa
pkrempa at redhat.com
Mon Nov 2 08:37:59 UTC 2015
On Mon, Nov 02, 2015 at 03:18:20 +0530, Shivaprasad G Bhat wrote:
> The checks to known stubs can be easily done having this
> implementation and easy to reuse.
>
> Signed-off-by: Shivaprasad G Bhat <sbhat at linux.vnet.ibm.com>
> ---
> src/util/virpci.c | 28 ++++++++++++++++++----------
> 1 file changed, 18 insertions(+), 10 deletions(-)
>
> diff --git a/src/util/virpci.c b/src/util/virpci.c
> index 35b1459..f3b4700 100644
> --- a/src/util/virpci.c
> +++ b/src/util/virpci.c
> @@ -1080,6 +1080,23 @@ static const char *virPCIKnownStubs[] = {
> NULL
> };
>
> +static bool
> +virPCIIsAKnownStub(char *driver)
I'd drop the 'A' here, so the function would be called:
virPCIIsKnownStub.
> +{
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151102/c776893b/attachment-0001.sig>
More information about the libvir-list
mailing list