virtio-ccw.h 558 B

123456789101112131415161718192021
  1. /*
  2. * Definitions for virtio-ccw devices.
  3. *
  4. * Copyright IBM Corp. 2013
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License (version 2 only)
  8. * as published by the Free Software Foundation.
  9. *
  10. * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
  11. */
  12. #ifndef __KVM_VIRTIO_CCW_H
  13. #define __KVM_VIRTIO_CCW_H
  14. /* Alignment of vring buffers. */
  15. #define KVM_VIRTIO_CCW_RING_ALIGN 4096
  16. /* Subcode for diagnose 500 (virtio hypercall). */
  17. #define KVM_S390_VIRTIO_CCW_NOTIFY 3
  18. #endif