2 * Support for virtio hypercalls on s390x
4 * Copyright IBM Corp. 2012, 2017
5 * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
7 * This work is licensed under the terms of the GNU GPL, version 2 or (at
8 * your option) any later version. See the COPYING file in the top-level
12 #ifndef HW_S390_VIRTIO_HCALL_H
13 #define HW_S390_VIRTIO_HCALL_H
15 #include "standard-headers/asm-s390/virtio-ccw.h"
18 /* The only thing that we need from the old kvm_virtio.h file */
19 #define KVM_S390_VIRTIO_NOTIFY 0
21 typedef int (*s390_virtio_fn
)(const uint64_t *args
);
22 void s390_register_virtio_hypercall(uint64_t code
, s390_virtio_fn fn
);
23 int s390_virtio_hypercall(CPUS390XState
*env
);
25 #endif /* HW_S390_VIRTIO_HCALL_H */