[PATCH 2/5] netdevtap: Use common helper function to create unique tap name

Shi Lei shi_lei at massclouds.com
Tue Dec 8 06:59:26 UTC 2020


On 2020-12-08 at 07:44, Laine Stump wrote:
>On 12/4/20 2:01 AM, Shi Lei wrote:
>> Simplify GenerateName/ReserveName for netdevtap by using common
>> functions.
>>
>> Signed-off-by: Shi Lei <shi_lei at massclouds.com>
>> ---
>>   src/util/virnetdevtap.c | 58 +++--------------------------------------
>>   1 file changed, 4 insertions(+), 54 deletions(-)
>>
>> diff --git a/src/util/virnetdevtap.c b/src/util/virnetdevtap.c
>> index 198607b5..38b2f171 100644
>> --- a/src/util/virnetdevtap.c
>> +++ b/src/util/virnetdevtap.c
>> @@ -55,9 +55,6 @@
>
>
>Also, I noticed when looking at patch 3 that you removed #include
><math.h> due to pow() no longer being needed - I think you need to do
>that in this file too. 

Oh. Thanks for reminding me.

>
>
>>  
>>   VIR_LOG_INIT("util.netdevtap");
>>  
>




More information about the libvir-list mailing list