]> Git Repo - qemu.git/blob - target/s390x/kvm-stub.c
Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging
[qemu.git] / target / s390x / kvm-stub.c
1 /*
2  * QEMU KVM support -- s390x specific function stubs.
3  *
4  * Copyright (c) 2009 Ulrich Hecht
5  *
6  * This work is licensed under the terms of the GNU GPL, version 2 or later.
7  * See the COPYING file in the top-level directory.
8  */
9
10 #include "qemu/osdep.h"
11 #include "qemu-common.h"
12 #include "cpu.h"
13 #include "kvm_s390x.h"
14
15 void kvm_s390_service_interrupt(uint32_t parm)
16 {
17 }
18
19 void kvm_s390_access_exception(S390CPU *cpu, uint16_t code, uint64_t te_code)
20 {
21 }
22
23 int kvm_s390_mem_op(S390CPU *cpu, vaddr addr, uint8_t ar, void *hostbuf,
24                     int len, bool is_write)
25 {
26     return -ENOSYS;
27 }
28
29 void kvm_s390_program_interrupt(S390CPU *cpu, uint16_t code)
30 {
31 }
32
33 void kvm_s390_io_interrupt(uint16_t subchannel_id, uint16_t subchannel_nr,
34                            uint32_t io_int_parm, uint32_t io_int_word)
35 {
36 }
37
38 void kvm_s390_crw_mchk(void)
39 {
40 }
41
42 int kvm_s390_set_cpu_state(S390CPU *cpu, uint8_t cpu_state)
43 {
44     return -ENOSYS;
45 }
46
47 void kvm_s390_vcpu_interrupt_pre_save(S390CPU *cpu)
48 {
49 }
50
51 int kvm_s390_vcpu_interrupt_post_load(S390CPU *cpu)
52 {
53     return 0;
54 }
55
56 int kvm_s390_get_ri(void)
57 {
58     return 0;
59 }
60
61 int kvm_s390_get_gs(void)
62 {
63     return 0;
64 }
65
66 int kvm_s390_get_clock(uint8_t *tod_high, uint64_t *tod_low)
67 {
68     return -ENOSYS;
69 }
70
71 int kvm_s390_get_clock_ext(uint8_t *tod_high, uint64_t *tod_low)
72 {
73     return -ENOSYS;
74 }
75
76 int kvm_s390_set_clock(uint8_t *tod_high, uint64_t *tod_low)
77 {
78     return -ENOSYS;
79 }
80
81 int kvm_s390_set_clock_ext(uint8_t *tod_high, uint64_t *tod_low)
82 {
83     return -ENOSYS;
84 }
85
86 void kvm_s390_enable_css_support(S390CPU *cpu)
87 {
88 }
89
90 int kvm_s390_assign_subch_ioeventfd(EventNotifier *notifier, uint32_t sch,
91                                     int vq, bool assign)
92 {
93     return -ENOSYS;
94 }
95
96 void kvm_s390_cmma_reset(void)
97 {
98 }
99
100 int kvm_s390_get_memslot_count(void)
101 {
102   return MAX_AVAIL_SLOTS;
103 }
104
105 void kvm_s390_reset_vcpu(S390CPU *cpu)
106 {
107 }
108
109 int kvm_s390_set_mem_limit(uint64_t new_limit, uint64_t *hw_limit)
110 {
111     return 0;
112 }
113
114 void kvm_s390_crypto_reset(void)
115 {
116 }
117
118 void kvm_s390_stop_interrupt(S390CPU *cpu)
119 {
120 }
121
122 void kvm_s390_restart_interrupt(S390CPU *cpu)
123 {
124 }
This page took 0.031652 seconds and 4 git commands to generate.