aboutsummaryrefslogtreecommitdiff
path: root/hw/pc_piix.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-02-14 19:11:27 +0200
committerMichael S. Tsirkin <mst@redhat.com>2013-02-27 17:23:18 +0200
commit2af234e61d59f39ae16ba882271e7c4fef2c41c1 (patch)
tree8eff98032eb13b812b8c6aafe33bc45fbc21f381 /hw/pc_piix.c
parent6b37a23df98faa26391a93373930bfb15b943e00 (diff)
downloadqemu-2af234e61d59f39ae16ba882271e7c4fef2c41c1.zip
qemu-2af234e61d59f39ae16ba882271e7c4fef2c41c1.tar.gz
qemu-2af234e61d59f39ae16ba882271e7c4fef2c41c1.tar.bz2
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>
Diffstat (limited to 'hw/pc_piix.c')
-rw-r--r--hw/pc_piix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index aa9cc81..a305e1f 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -330,6 +330,10 @@ static QEMUMachine pc_i440fx_machine_v1_4 = {
.driver = "virtio-net-pci", \
.property = "mq", \
.value = "off", \
+ }, {\
+ .driver = "e1000",\
+ .property = "autonegotiation",\
+ .value = "off",\
}
static QEMUMachine pc_machine_v1_3 = {