Lines Matching refs:kvm
23 int kvm_xen_hvm_set_attr(struct kvm *kvm, struct kvm_xen_hvm_attr *data);
24 int kvm_xen_hvm_get_attr(struct kvm *kvm, struct kvm_xen_hvm_attr *data);
25 int kvm_xen_hvm_evtchn_send(struct kvm *kvm, struct kvm_irq_routing_xen_evtchn *evt);
27 int kvm_xen_hvm_config(struct kvm *kvm, struct kvm_xen_hvm_config *xhc);
28 void kvm_xen_init_vm(struct kvm *kvm);
29 void kvm_xen_destroy_vm(struct kvm *kvm);
33 struct kvm *kvm);
34 int kvm_xen_setup_evtchn(struct kvm *kvm,
39 static inline bool kvm_xen_msr_enabled(struct kvm *kvm) in kvm_xen_msr_enabled() argument
42 kvm->arch.xen_hvm_config.msr; in kvm_xen_msr_enabled()
45 static inline bool kvm_xen_hypercall_enabled(struct kvm *kvm) in kvm_xen_hypercall_enabled() argument
48 (kvm->arch.xen_hvm_config.flags & in kvm_xen_hypercall_enabled()
56 vcpu->kvm->arch.xen.upcall_vector) in kvm_xen_has_interrupt()
75 if (kvm_xen_hypercall_enabled(vcpu->kvm) && kvm_xen_timer_enabled(vcpu)) in kvm_xen_has_pending_timer()
88 static inline void kvm_xen_init_vm(struct kvm *kvm) in kvm_xen_init_vm() argument
92 static inline void kvm_xen_destroy_vm(struct kvm *kvm) in kvm_xen_destroy_vm() argument
104 static inline bool kvm_xen_msr_enabled(struct kvm *kvm) in kvm_xen_msr_enabled() argument
109 static inline bool kvm_xen_hypercall_enabled(struct kvm *kvm) in kvm_xen_hypercall_enabled() argument