Revision e68cb8b4 target-ppc/kvm_ppc.h
b/target-ppc/kvm_ppc.h | ||
---|---|---|
38 | 38 |
#endif /* !CONFIG_USER_ONLY */ |
39 | 39 |
int kvmppc_fixup_cpu(PowerPCCPU *cpu); |
40 | 40 |
bool kvmppc_has_cap_epr(void); |
41 |
int kvmppc_get_htab_fd(bool write); |
|
42 |
int kvmppc_save_htab(QEMUFile *f, int fd, size_t bufsize, int64_t max_ns); |
|
43 |
int kvmppc_load_htab_chunk(QEMUFile *f, int fd, uint32_t index, |
|
44 |
uint16_t n_valid, uint16_t n_invalid); |
|
41 | 45 |
|
42 | 46 |
#else |
43 | 47 |
|
... | ... | |
159 | 163 |
{ |
160 | 164 |
return false; |
161 | 165 |
} |
166 |
|
|
167 |
static inline int kvmppc_get_htab_fd(bool write) |
|
168 |
{ |
|
169 |
return -1; |
|
170 |
} |
|
171 |
|
|
172 |
static inline int kvmppc_save_htab(QEMUFile *f, int fd, size_t bufsize, |
|
173 |
int64_t max_ns) |
|
174 |
{ |
|
175 |
abort(); |
|
176 |
} |
|
177 |
|
|
178 |
static inline int kvmppc_load_htab_chunk(QEMUFile *f, int fd, uint32_t index, |
|
179 |
uint16_t n_valid, uint16_t n_invalid) |
|
180 |
{ |
|
181 |
abort(); |
|
182 |
} |
|
183 |
|
|
162 | 184 |
#endif |
163 | 185 |
|
164 | 186 |
#ifndef CONFIG_KVM |
Also available in: Unified diff