diff options
author | Matthew Rosato <mjrosato@linux.ibm.com> | 2024-01-18 13:51:50 -0500 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-01-22 18:23:48 +0300 |
commit | c2985e38d803e62091f77ecb372c9c5fdf997239 (patch) | |
tree | e134db422433c26f32a7f4d229931bc11c560041 /hw/s390x/virtio-ccw.c | |
parent | 9d6dd12b1d60f26fcefeb35a5fc27a6bdce19b65 (diff) |
s390x/pci: refresh fh before disabling aif
Typically we refresh the host fh during CLP enable, however it's possible
that the device goes through multiple reset events before the guest
performs another CLP enable. Let's handle this for now by refreshing the
host handle from vfio before disabling aif.
Fixes: 03451953c7 ("s390x/pci: reset ISM passthrough devices on shutdown and system reset")
Reported-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Message-ID: <20240118185151.265329-3-mjrosato@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit 30e35258e25c75c9d799c34fd89afcafffb37084)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/s390x/virtio-ccw.c')
0 files changed, 0 insertions, 0 deletions