Home
last modified time | relevance | path

Searched hist:"9 e11773417d98fd2ec961568ec2875063b95569b" (Results 1 – 1 of 1) sorted by relevance

/qemu/hw/net/
H A De1000.c9e11773417d98fd2ec961568ec2875063b95569b Wed Nov 11 13:52:40 UTC 2015 Leonid Bloch <leonid.bloch@ravellosystems.com> e1000: Add support for migrating the entire MAC registers' array

This patch makes the migration of the entire array of MAC registers
possible during live migration. The entire array is just 128 KB long, so
practically no penalty should be felt when transmitting it, additionally
to the previously transmitted individual registers. The advantage here is
eliminating the need to introduce new vmstate subsections in the future,
when additional MAC registers will be implemented.

Backward compatibility is preserved by introducing a e1000-specific
boolean parameter (in a later patch), which will be on by default.
Setting it to off would enable migration to older versions of QEMU.

Additionally, this parameter will be used to control the access to the
extra MAC registers in the future.

Signed-off-by: Leonid Bloch <leonid.bloch@ravellosystems.com>
Signed-off-by: Dmitry Fleytman <dmitry.fleytman@ravellosystems.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>