Re: [PATCH v2 1/2] util: add virNetDevGetPhysPortName

2021-01-24 Thread Laine Stump
On 1/21/21 7:15 AM, Moshe Levi wrote: This commit add virNetDevGetPhysPortName to read netdevice phys_port_name from sysfs. It also refactor the code so virNetDevGetPhysPortName and virNetDevGetPhysPortID will use same method to read the netdevice sysfs. --- src/util/virnetdev.c | 74 ++

[PATCH v2 1/2] util: add virNetDevGetPhysPortName

2021-01-21 Thread Moshe Levi
This commit add virNetDevGetPhysPortName to read netdevice phys_port_name from sysfs. It also refactor the code so virNetDevGetPhysPortName and virNetDevGetPhysPortID will use same method to read the netdevice sysfs. --- src/util/virnetdev.c | 74 +++- src/u