Re: [PATCH v2] virtio-net: Set mac address to hardware if the peer is vdpa

2020-10-15 Thread Jason Wang
On 2020/9/25 下午11:13, Cindy Lu wrote: 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 --- hw/net/virtio-net.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c ind

[PATCH v2] virtio-net: Set mac address to hardware if the peer is vdpa

2020-09-25 Thread Cindy Lu
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 --- hw/net/virtio-net.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index cb0d27084c..1f2c1643bf 100644 --- a/hw/ne