xref: /linux/arch/s390/include/uapi/asm/virtio-ccw.h (revision bd628c1bed7902ec1f24ba0fe70758949146abbe)
1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
2 /*
3  * Definitions for virtio-ccw devices.
4  *
5  * Copyright IBM Corp. 2013
6  *
7  *  Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
8  */
9 #ifndef __KVM_VIRTIO_CCW_H
10 #define __KVM_VIRTIO_CCW_H
11 
12 /* Alignment of vring buffers. */
13 #define KVM_VIRTIO_CCW_RING_ALIGN 4096
14 
15 /* Subcode for diagnose 500 (virtio hypercall). */
16 #define KVM_S390_VIRTIO_CCW_NOTIFY 3
17 
18 #endif
19