]> git.proxmox.com Git - qemu.git/commit
virtio-net: revert mac on reset
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 16 Jan 2013 09:37:40 +0000 (11:37 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 29 Jan 2013 23:31:08 +0000 (01:31 +0200)
commit41dc8a67c7dcecdf7ae1cd25db3c46f2b42a221f
treeaf81e510943a4785b21508b1532a565240438cbd
parent7586317bc0db3b993446b21eec914f5b66645ee4
virtio-net: revert mac on reset

Once guest overrides virtio net primary mac,
it retains the value set until qemu exit.
This is inconsistent with standard nic behaviour.
To fix, revert the mac to the original value on reset.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio-net.c