diff options
| author | Paolo Bonzini | 2015-02-12 21:39:20 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2015-02-16 17:30:14 +0100 |
| commit | 5cd5e7015962d8d559afb5154888fd34a8526ddd (patch) | |
| tree | 071ec5fb47bd2a5a902bc0f4bcd320dd1354e5bd /include/exec | |
| parent | pcie: remove mmconfig memory leak and wrap mmconfig update with transaction (diff) | |
| download | qemu-5cd5e7015962d8d559afb5154888fd34a8526ddd.tar.gz qemu-5cd5e7015962d8d559afb5154888fd34a8526ddd.tar.xz qemu-5cd5e7015962d8d559afb5154888fd34a8526ddd.zip | |
pci: split shpc_cleanup and shpc_free
object_unparent should not be called until the parent device is going to be
destroyed. Only remove the capability and do memory_region_del_subregion
at unrealize time. Freeing the data structures is left in shpc_free, to
be called from the instance_finalize callback.
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
