kvm-s390.h (0d3c24e936feefeca854073ccb40613cd6eba9a9) kvm-s390.h (b7c92f1a4e131e459bcf53a570e7265e5ce64455)
1/*
2 * definition for kvm on s390
3 *
4 * Copyright IBM Corp. 2008, 2009
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.

--- 228 unchanged lines hidden (view full) ---

237}
238static inline void kvm_s390_retry_instr(struct kvm_vcpu *vcpu)
239{
240 /* don't inject PER events if we re-execute the instruction */
241 vcpu->arch.sie_block->icptstatus &= ~0x02;
242 kvm_s390_rewind_psw(vcpu, kvm_s390_get_ilen(vcpu));
243}
244
1/*
2 * definition for kvm on s390
3 *
4 * Copyright IBM Corp. 2008, 2009
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.

--- 228 unchanged lines hidden (view full) ---

237}
238static inline void kvm_s390_retry_instr(struct kvm_vcpu *vcpu)
239{
240 /* don't inject PER events if we re-execute the instruction */
241 vcpu->arch.sie_block->icptstatus &= ~0x02;
242 kvm_s390_rewind_psw(vcpu, kvm_s390_get_ilen(vcpu));
243}
244
245int handle_sthyi(struct kvm_vcpu *vcpu);
246
245/* implemented in priv.c */
246int is_valid_psw(psw_t *psw);
247int kvm_s390_handle_aa(struct kvm_vcpu *vcpu);
248int kvm_s390_handle_b2(struct kvm_vcpu *vcpu);
249int kvm_s390_handle_e3(struct kvm_vcpu *vcpu);
250int kvm_s390_handle_e5(struct kvm_vcpu *vcpu);
251int kvm_s390_handle_01(struct kvm_vcpu *vcpu);
252int kvm_s390_handle_b9(struct kvm_vcpu *vcpu);

--- 10 unchanged lines hidden (view full) ---

263 unsigned long end);
264void kvm_s390_vsie_init(struct kvm *kvm);
265void kvm_s390_vsie_destroy(struct kvm *kvm);
266
267/* implemented in sigp.c */
268int kvm_s390_handle_sigp(struct kvm_vcpu *vcpu);
269int kvm_s390_handle_sigp_pei(struct kvm_vcpu *vcpu);
270
247/* implemented in priv.c */
248int is_valid_psw(psw_t *psw);
249int kvm_s390_handle_aa(struct kvm_vcpu *vcpu);
250int kvm_s390_handle_b2(struct kvm_vcpu *vcpu);
251int kvm_s390_handle_e3(struct kvm_vcpu *vcpu);
252int kvm_s390_handle_e5(struct kvm_vcpu *vcpu);
253int kvm_s390_handle_01(struct kvm_vcpu *vcpu);
254int kvm_s390_handle_b9(struct kvm_vcpu *vcpu);

--- 10 unchanged lines hidden (view full) ---

265 unsigned long end);
266void kvm_s390_vsie_init(struct kvm *kvm);
267void kvm_s390_vsie_destroy(struct kvm *kvm);
268
269/* implemented in sigp.c */
270int kvm_s390_handle_sigp(struct kvm_vcpu *vcpu);
271int kvm_s390_handle_sigp_pei(struct kvm_vcpu *vcpu);
272
271/* implemented in sthyi.c */
272int handle_sthyi(struct kvm_vcpu *vcpu);
273
274/* implemented in kvm-s390.c */
275void kvm_s390_set_tod_clock_ext(struct kvm *kvm,
276 const struct kvm_s390_vm_tod_clock *gtod);
277void kvm_s390_set_tod_clock(struct kvm *kvm, u64 tod);
278long kvm_arch_fault_in_page(struct kvm_vcpu *vcpu, gpa_t gpa, int writable);
279int kvm_s390_store_status_unloaded(struct kvm_vcpu *vcpu, unsigned long addr);
280int kvm_s390_vcpu_store_status(struct kvm_vcpu *vcpu, unsigned long addr);
281void kvm_s390_vcpu_start(struct kvm_vcpu *vcpu);

--- 123 unchanged lines hidden ---
273/* implemented in kvm-s390.c */
274void kvm_s390_set_tod_clock_ext(struct kvm *kvm,
275 const struct kvm_s390_vm_tod_clock *gtod);
276void kvm_s390_set_tod_clock(struct kvm *kvm, u64 tod);
277long kvm_arch_fault_in_page(struct kvm_vcpu *vcpu, gpa_t gpa, int writable);
278int kvm_s390_store_status_unloaded(struct kvm_vcpu *vcpu, unsigned long addr);
279int kvm_s390_vcpu_store_status(struct kvm_vcpu *vcpu, unsigned long addr);
280void kvm_s390_vcpu_start(struct kvm_vcpu *vcpu);

--- 123 unchanged lines hidden ---