]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-net: Set mac address to hardware if the peer is vdpa
authorCindy Lu <lulu@redhat.com>
Fri, 25 Sep 2020 15:13:33 +0000 (23:13 +0800)
committerJason Wang <jasowang@redhat.com>
Wed, 11 Nov 2020 08:52:23 +0000 (16:52 +0800)
commite87936ea299d8204e496b5ff19ffdca46c21610e
tree36f7a14d4b46a21b528c9329a373925b5fa2aa28
parentc6f28ed5075df79fef39c500362a3f4089256c9c
virtio-net: Set mac address to hardware if the peer is vdpa

If the peer's type is vdpa, we need to set the mac address to hardware
in virtio_net_device_realize,

Signed-off-by: Cindy Lu <lulu@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/virtio-net.c