diff options
author | Michael S. Tsirkin | 2013-02-14 18:11:27 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2013-02-27 16:23:18 +0100 |
commit | 2af234e61d59f39ae16ba882271e7c4fef2c41c1 (patch) | |
tree | 8eff98032eb13b812b8c6aafe33bc45fbc21f381 /hw/pc_piix.c | |
parent | vhost: memory sync fixes (diff) | |
download | qemu-2af234e61d59f39ae16ba882271e7c4fef2c41c1.tar.gz qemu-2af234e61d59f39ae16ba882271e7c4fef2c41c1.tar.xz qemu-2af234e61d59f39ae16ba882271e7c4fef2c41c1.zip |
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/pc_piix.c b/hw/pc_piix.c index aa9cc81a2d..a305e1fb77 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 = { |