]> git.ipfire.org Git - thirdparty/qemu.git/commit
e1000e: correctly tear down MSI-X memory regions
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Mar 2017 11:58:30 +0000 (12:58 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 16 Mar 2017 17:10:42 +0000 (12:10 -0500)
commit495756ef9d4b3a54b1b41928f210d9b217c8a923
tree823cc990f34df196249b91d1ac38ef67be3adc98
parent9ad26963bf7a55784e1f2407bf2bc3d25f843a4d
e1000e: correctly tear down MSI-X memory regions

MSI-X has been disabled by the time the e1000e device is unrealized, hence
msix_uninit is never called.  This causes the object to be leaked, which
shows up as a RAMBlock with empty name when attempting migration.

Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Tested-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
(cherry picked from commit 7ec7ae4b973d1471f6f39fc2b6481f69c2b39593)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/net/e1000e.c