e1000: unbreak the guest network migration to 1.3
commit2af234e61d59f39ae16ba882271e7c4fef2c41c1
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 14 Feb 2013 17:11:27 +0000 (14 19:11 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 27 Feb 2013 15:23:18 +0000 (27 17:23 +0200)
tree8eff98032eb13b812b8c6aafe33bc45fbc21f381
parent6b37a23df98faa26391a93373930bfb15b943e00
e1000: unbreak the guest network migration to 1.3

QEMU 1.3 does not emulate the link auto negotiation, so if migrate to a
1.3 machine during link auto negotiation, the guest link will be set to down.
Fix this by just disabling auto negotiation for 1.3 and older.

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