s390x: add have_virtio_ccw
commit2dd9d8cfb4f3bd30d9cdfc2edba5cb7ee5917f4b
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 17 Mar 2021 09:56:21 +0000 (17 10:56 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 26 Mar 2021 08:33:50 +0000 (26 09:33 +0100)
treeaecc22a0c025b8abb0b5f32f799c303be892aded
parentd4c603d7be2e4173252c5b55e62d30ddd26edaca
s390x: add have_virtio_ccw

Introduce a symbol which can be used to prevent ccw modules
being loaded into system emulators without ccw support.

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-3-kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/s390x/virtio-ccw.c
hw/s390x/virtio-ccw.h