|
| From: | Michael Tokarev |
| Subject: | Re: [PATCH] virtio-net : Add check for VIRTIO_NET_F_MAC |
| Date: | Wed, 29 Sep 2021 13:01:29 +0300 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 |
29.09.2021 09:52, Cindy Lu wrote:
For vdpa device, if the host support VIRTIO_NET_F_MAC
we need to read the mac address from hardware, so need
to check this bit, the logic is
1 if the host support VIRTIO_NET_F_MAC and the mac address
is correct, qemu will use the mac address in hardware
2.if the host not support , qemu will use the mac from cmdline
So if hw supports NET_F_MAC, cmdline-provided parameter will silently be ignored? s/host not support/host does not support this feature/
3.if the cmdline not provide mac address, qemu will use radam mac address
s/not/does not/ s/radam/random/ Thanks, /mjt
| [Prev in Thread] | Current Thread | [Next in Thread] |