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 <[email protected]>
> ---
>  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

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to