aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/css.c
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2013-02-15 10:18:43 +0100
committerCornelia Huck <cornelia.huck@de.ibm.com>2013-06-25 17:11:11 +0200
commitb4436a0b4db0334c3157f71e9baa2944a133c4d4 (patch)
tree2cec150cd86566799faf013f67e432656097eef4 /hw/s390x/css.c
parent6504a93011138458a2e4f67b513c5a77bdb3cae1 (diff)
downloadqemu-b4436a0b4db0334c3157f71e9baa2944a133c4d4.zip
qemu-b4436a0b4db0334c3157f71e9baa2944a133c4d4.tar.gz
qemu-b4436a0b4db0334c3157f71e9baa2944a133c4d4.tar.bz2
virtio-ccw: Wire up ioeventfd.
On hosts that support ioeventfd, make use of it for host-to-guest notifications via diagnose 500. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw/s390x/css.c')
-rw-r--r--hw/s390x/css.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/css.c b/hw/s390x/css.c
index f82abfe..93b0b97 100644
--- a/hw/s390x/css.c
+++ b/hw/s390x/css.c
@@ -68,7 +68,7 @@ int css_create_css_image(uint8_t cssid, bool default_image)
return 0;
}
-static uint16_t css_build_subchannel_id(SubchDev *sch)
+uint16_t css_build_subchannel_id(SubchDev *sch)
{
if (channel_subsys->max_cssid > 0) {
return (sch->cssid << 8) | (1 << 3) | (sch->ssid << 1) | 1;