Re: [PATCH] conf: Generate MAC address instead of keeping all zeroes

2023-09-04 Thread Martin Kletzander
On Mon, Sep 04, 2023 at 02:34:49PM +0200, Michal Prívozník wrote: On 9/1/23 17:12, Martin Kletzander wrote: When we parse we keep that in memory and pass it down to the hypervisor. However, that MAC address is not strictly valid as it is not marked as locally administered (bit 0x02) but it is

Re: [PATCH] conf: Generate MAC address instead of keeping all zeroes

2023-09-04 Thread Michal Prívozník
On 9/1/23 17:12, Martin Kletzander wrote: > When we parse we keep that in memory > and pass it down to the hypervisor. However, that MAC address is not > strictly valid as it is not marked as locally administered (bit 0x02) > but it is not even globally unique. It is also used for loopback devic

[PATCH] conf: Generate MAC address instead of keeping all zeroes

2023-09-01 Thread Martin Kletzander
When we parse we keep that in memory and pass it down to the hypervisor. However, that MAC address is not strictly valid as it is not marked as locally administered (bit 0x02) but it is not even globally unique. It is also used for loopback device on Linux, for example. And QEMU sees such MAC a