aboutsummaryrefslogtreecommitdiff
path: root/trace/ftrace.c
diff options
context:
space:
mode:
authorMarcel Apfelbaum <marcel.apfelbaum@gmail.com>2019-07-05 04:07:11 +0300
committerDr. David Alan Gilbert <dgilbert@redhat.com>2019-08-14 17:33:14 +0100
commit78dd48df397ad9d2b874f7aa28552b4f27f58a8d (patch)
tree68a9b1ec79ceef5fc726da58b678fbe0d9f67272 /trace/ftrace.c
parent3d661c8ab18ad2013992c622ab307422ace891a2 (diff)
downloadqemu-78dd48df397ad9d2b874f7aa28552b4f27f58a8d.zip
qemu-78dd48df397ad9d2b874f7aa28552b4f27f58a8d.tar.gz
qemu-78dd48df397ad9d2b874f7aa28552b4f27f58a8d.tar.bz2
hw/net: fix vmxnet3 live migration
At some point vmxnet3 live migration stopped working and git-bisect didn't help finding a working version. The issue is the PCI configuration space is not being migrated successfully and MSIX remains masked at destination. Remove the migration differentiation between PCI and PCIe since the logic resides now inside VMSTATE_PCI_DEVICE. Remove also the VMXNET3_COMPAT_FLAG_DISABLE_PCIE based differentiation since at 'realize' time is decided if the device is PCI or PCIe, then the above macro is enough. Use the opportunity to move to the standard VMSTATE_MSIX instead of the deprecated SaveVMHandlers. Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Message-Id: <20190705010711.23277-1-marcel.apfelbaum@gmail.com> Tested-by: Sukrit Bhatnagar <skrtbhtngr@gmail.com> Reviewed-by: Dmitry Fleytman <dmitry.fleytman@gmail.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'trace/ftrace.c')
0 files changed, 0 insertions, 0 deletions