]> Git Repo - qemu.git/commit
net/e1000: update network information when macaddr is changed in guest
authorAmos Kong <[email protected]>
Thu, 17 Oct 2013 07:02:49 +0000 (15:02 +0800)
committerStefan Hajnoczi <[email protected]>
Fri, 18 Oct 2013 11:28:09 +0000 (13:28 +0200)
commit7c36507c2b8776266f50c5e2739bd18279953b93
tree48f380f3d9b808af48b89e37e735832339b8163e
parent655d3b63b036b70714adbdae685055f1bda0f8f1
net/e1000: update network information when macaddr is changed in guest

If we change macaddr in guest by 'ifconfig eth0 hw ether 12:12:12:34:35:36',
the mac register of e1000 is already updated, but we don't update
network information in qemu. Therefor, the information in monitor
is wrong.

This patch updates nic info when the second part of macaddr is written.

Signed-off-by: Amos Kong <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
hw/net/e1000.c
This page took 0.024658 seconds and 4 git commands to generate.