]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hyperv: Move MAC parsing into a separate function
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 6 Feb 2026 08:20:09 +0000 (09:20 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 12 Feb 2026 14:55:30 +0000 (15:55 +0100)
commita422ebb178194f974590877894669652d71b7e87
treee629fe205eb19b8c691b5f279cc8e5772174643f
parent7fdc9111d2d33667ef368ad94d294bf688e89607
hyperv: Move MAC parsing into a separate function

When constructing a domain definition, NICs are fetched from WMI
and their MAC addresses are then parsed. Move this code into a
separate function so that it can be reused later.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/hyperv/hyperv_driver.c