diff options
author | Jason Wang <jasowang@redhat.com> | 2012-09-28 10:06:00 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2012-10-08 13:59:39 +0200 |
commit | 9e12c5aff2cfdd1574bf732c4bbf579d0c2e85c1 (patch) | |
tree | 33b132c7934018fdf79d36162bdcc1f41ce89353 /hw/e1000.c | |
parent | 4bb26682f70a5f626cad3e0ac82bf4b6252ea7a4 (diff) | |
download | qemu-9e12c5aff2cfdd1574bf732c4bbf579d0c2e85c1.zip qemu-9e12c5aff2cfdd1574bf732c4bbf579d0c2e85c1.tar.gz qemu-9e12c5aff2cfdd1574bf732c4bbf579d0c2e85c1.tar.bz2 |
rtl8139: implement 8139cp link status
Add a link status chang callback and change the link status bit in BMSR
& MSR accordingly. Tested in Linux/Windows guests.
The link status bit of MediaStatus is infered from BasicModeStatus,
they are inverse.
nc.link_down could not be migrated, this patch updates link_down in
rtl8139_post_load() to keep it coincident with real link status.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Amos Kong <akong@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Diffstat (limited to 'hw/e1000.c')
0 files changed, 0 insertions, 0 deletions