s390x: move S390_ADAPTER_SUPPRESSIBLE
commitd4c603d7be2e4173252c5b55e62d30ddd26edaca
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 17 Mar 2021 09:56:20 +0000 (17 10:56 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 26 Mar 2021 08:33:50 +0000 (26 09:33 +0100)
tree13a04a70dcac6fd8a03c8c4868726ac10e7a8926
parent2da6e36b3390501b1e3f549a87a58871be447a94
s390x: move S390_ADAPTER_SUPPRESSIBLE

The definition S390_ADAPTER_SUPPRESSIBLE was moved to "cpu.h", per
suggestion of Thomas Huth. From interface design perspective, IMHO, not
a good thing as it belongs to the public interface of
css_register_io_adapters(). We did this because CONFIG_KVM requeires
NEED_CPU_H and Thomas, and other commenters did not like the
consequences of that.

Moving the interrupt related declarations to s390_flic.h was suggested
by Cornelia Huck.

Signed-off-by: Halil Pasic <pasic@linux.ibm.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
Tested-by: Halil Pasic <pasic@linux.ibm.com>
Message-Id: <20210317095622.2839895-2-kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/hw/s390x/css.h
include/hw/s390x/s390_flic.h
target/s390x/cpu.h