commit | 893bfc3cc893ed36cedc364e99cf483e9b08c294 | [log] [tgz] |
---|---|---|
author | Cao jin <caoj.fnst@cn.fujitsu.com> | Mon Oct 17 10:58:03 2016 -0600 |
committer | Alex Williamson <alex.williamson@redhat.com> | Mon Oct 17 10:58:03 2016 -0600 |
tree | 8c24cb82f07265ac8064eaef10b841a6801c7fff | |
parent | 31e6a7b17b35711eb44f0e686b5ba68d15bfe4c1 [diff] |
vfio: fix duplicate function call When vfio device is reset(encounter FLR, or bus reset), if need to do bus reset(vfio_pci_hot_reset_one is called), vfio_pci_pre_reset & vfio_pci_post_reset will be called twice. Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>