virtio-ccw.h 444 B

123456789101112131415161718
  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 <[email protected]>
  8. */
  9. #ifndef __KVM_VIRTIO_CCW_H
  10. #define __KVM_VIRTIO_CCW_H
  11. /* Alignment of vring buffers. */
  12. #define KVM_VIRTIO_CCW_RING_ALIGN 4096
  13. /* Subcode for diagnose 500 (virtio hypercall). */
  14. #define KVM_S390_VIRTIO_CCW_NOTIFY 3
  15. #endif