1
2
3
4
5
6
7
8
9
10#include "qemu/osdep.h"
11#include "qemu-common.h"
12#include "cpu.h"
13#include "kvm_s390x.h"
14
15void kvm_s390_access_exception(S390CPU *cpu, uint16_t code, uint64_t te_code)
16{
17}
18
19int kvm_s390_mem_op(S390CPU *cpu, vaddr addr, uint8_t ar, void *hostbuf,
20 int len, bool is_write)
21{
22 return -ENOSYS;
23}
24
25void kvm_s390_program_interrupt(S390CPU *cpu, uint16_t code)
26{
27}
28
29int kvm_s390_set_cpu_state(S390CPU *cpu, uint8_t cpu_state)
30{
31 return -ENOSYS;
32}
33
34void kvm_s390_vcpu_interrupt_pre_save(S390CPU *cpu)
35{
36}
37
38int kvm_s390_vcpu_interrupt_post_load(S390CPU *cpu)
39{
40 return 0;
41}
42
43int kvm_s390_get_ri(void)
44{
45 return 0;
46}
47
48int kvm_s390_get_gs(void)
49{
50 return 0;
51}
52
53int kvm_s390_get_clock(uint8_t *tod_high, uint64_t *tod_low)
54{
55 return -ENOSYS;
56}
57
58int kvm_s390_get_clock_ext(uint8_t *tod_high, uint64_t *tod_low)
59{
60 return -ENOSYS;
61}
62
63int kvm_s390_set_clock(uint8_t *tod_high, uint64_t *tod_low)
64{
65 return -ENOSYS;
66}
67
68int kvm_s390_set_clock_ext(uint8_t *tod_high, uint64_t *tod_low)
69{
70 return -ENOSYS;
71}
72
73void kvm_s390_enable_css_support(S390CPU *cpu)
74{
75}
76
77int kvm_s390_assign_subch_ioeventfd(EventNotifier *notifier, uint32_t sch,
78 int vq, bool assign)
79{
80 return -ENOSYS;
81}
82
83void kvm_s390_cmma_reset(void)
84{
85}
86
87void kvm_s390_reset_vcpu(S390CPU *cpu)
88{
89}
90
91int kvm_s390_set_mem_limit(uint64_t new_limit, uint64_t *hw_limit)
92{
93 return 0;
94}
95
96void kvm_s390_crypto_reset(void)
97{
98}
99
100void kvm_s390_stop_interrupt(S390CPU *cpu)
101{
102}
103
104void kvm_s390_restart_interrupt(S390CPU *cpu)
105{
106}
107