1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
3 * Definitions for virtio-ccw devices.
5 * Copyright IBM Corp. 2013
7 * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
9 #ifndef __KVM_VIRTIO_CCW_H
10 #define __KVM_VIRTIO_CCW_H
12 /* Alignment of vring buffers. */
13 #define KVM_VIRTIO_CCW_RING_ALIGN 4096
15 /* Subcode for diagnose 500 (virtio hypercall). */
16 #define KVM_S390_VIRTIO_CCW_NOTIFY 3