]> git.ipfire.org Git - thirdparty/qemu.git/commit
e1000: Choose which set of props to migrate
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 28 Mar 2018 16:36:29 +0000 (17:36 +0100)
committerJason Wang <jasowang@redhat.com>
Tue, 10 Apr 2018 03:30:03 +0000 (11:30 +0800)
commitff214d427ec64d22b3d40b802efb96955c4b6b89
treeab3d41f68ed7cb4f5af45d07b0285c89915ebe9b
parent59354484787f8463406704a948809e0f478501d5
e1000: Choose which set of props to migrate

When we're using the subsection we migrate both
the 'props' and 'tso_props' data; when we're not using
the subsection (to migrate to 2.11 or old machine types) we've
got to choose what to migrate in the main structure.

If we're using the subsection migrate 'props' in the main structure.
If we're not using the subsection then migrate the last one
that changed, which gives behaviour similar to the old behaviour.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000.c