qga: Move HW address getting to a separate function
authorAlexander Ivanov <alexander.ivanov@virtuozzo.com>
Mon, 17 Oct 2022 07:28:24 +0000 (09:28 +0200)
committerKonstantin Kostiuk <kkostiuk@redhat.com>
Wed, 26 Oct 2022 17:35:07 +0000 (20:35 +0300)
commita1241094223d69d72bebc5ed7a5f6f57cbc7986c
tree31538bb7cc9854627b5866c50b867380fce43953
parent4fd0642e84e2dc25033090cad73f1ef1904e1600
qga: Move HW address getting to a separate function

In the next patch FreeBSD support for guest-network-get-interfaces will be
added. Previously move Linux-specific code of HW address getting to a
separate functions and add a dumb function to commands-bsd.c.

Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
qga/commands-bsd.c
qga/commands-common.h
qga/commands-posix.c