irq.c (c1144d29f405ce1f4e6ede6482beb3d0d09750c6) | irq.c (654f1f13ea56b92bacade8ce2725aea0457f91c0) |
---|---|
1/* 2 * irq.c: API for in kernel interrupt controller 3 * Copyright (c) 2007, Intel Corporation. 4 * Copyright 2009 Red Hat, Inc. and/or its affiliates. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. --- 158 unchanged lines hidden (view full) --- 167} 168EXPORT_SYMBOL_GPL(kvm_inject_pending_timer_irqs); 169 170void __kvm_migrate_timers(struct kvm_vcpu *vcpu) 171{ 172 __kvm_migrate_apic_timer(vcpu); 173 __kvm_migrate_pit_timer(vcpu); 174} | 1/* 2 * irq.c: API for in kernel interrupt controller 3 * Copyright (c) 2007, Intel Corporation. 4 * Copyright 2009 Red Hat, Inc. and/or its affiliates. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. --- 158 unchanged lines hidden (view full) --- 167} 168EXPORT_SYMBOL_GPL(kvm_inject_pending_timer_irqs); 169 170void __kvm_migrate_timers(struct kvm_vcpu *vcpu) 171{ 172 __kvm_migrate_apic_timer(vcpu); 173 __kvm_migrate_pit_timer(vcpu); 174} |
175 176bool kvm_arch_irqfd_allowed(struct kvm *kvm, struct kvm_irqfd *args) 177{ 178 bool resample = args->flags & KVM_IRQFD_FLAG_RESAMPLE; 179 180 return resample ? irqchip_kernel(kvm) : irqchip_in_kernel(kvm); 181} |
|