diff options
author | Matthew Rosato <mjrosato@linux.ibm.com> | 2024-01-18 13:51:49 -0500 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-01-22 18:23:48 +0300 |
commit | 9d6dd12b1d60f26fcefeb35a5fc27a6bdce19b65 (patch) | |
tree | 9e0349b0208d4ffcc1b75bb9e3fa57b6c2ff3171 /ui/input-linux.c | |
parent | 164e6f7d66adeaae9db54cefec9fca8941fe1e10 (diff) | |
download | qemu-9d6dd12b1d60f26fcefeb35a5fc27a6bdce19b65.zip qemu-9d6dd12b1d60f26fcefeb35a5fc27a6bdce19b65.tar.gz qemu-9d6dd12b1d60f26fcefeb35a5fc27a6bdce19b65.tar.bz2 |
s390x/pci: avoid double enable/disable of aif
Use a flag to keep track of whether AIF is currently enabled. This can be
used to avoid enabling/disabling AIF multiple times as well as to determine
whether or not it should be disabled during reset processing.
Fixes: d0bc7091c2 ("s390x/pci: enable adapter event notification for interpreted devices")
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-2-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 07b2c8e034d80ff92e202405c494d2ff80fcf848)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'ui/input-linux.c')
0 files changed, 0 insertions, 0 deletions