virtio-net: fix macaddr config regression
commit3cbe04c44254dd22da89f426c21a60f5f0e2f8b4
authorMark McLoughlin <markmc@redhat.com>
Wed, 28 Oct 2009 14:07:23 +0000 (28 14:07 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 30 Oct 2009 14:42:35 +0000 (30 09:42 -0500)
tree59dae7776763aa1a68a594147f4645c0a0f62756
parent76f5159d7fc4cdea9574dfbb54307735b280bc66
virtio-net: fix macaddr config regression

This commit:

    commit 97b15621
    virtio: use qdev properties for configuration.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
makes a guest using virtio-net see an empty macaddr because we never
copy the macaddr into the location that virtio_net_get_config() uses.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-net.c