[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] x86: move arch_evtchn_inject to x86 common code
commit 4b60c40659b34b6577a6bc91eb4115458a0e425f Author: Wei Liu <wei.liu2@xxxxxxxxxx> AuthorDate: Tue Aug 7 11:00:50 2018 +0100 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Wed Aug 8 10:36:46 2018 +0100 x86: move arch_evtchn_inject to x86 common code It is not specific to HVM. It just so happens that PV doesn't need special handling. Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/arch/x86/hvm/irq.c | 6 ------ xen/arch/x86/irq.c | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xen/arch/x86/hvm/irq.c b/xen/arch/x86/hvm/irq.c index 8095c829b6..dfe8ed6385 100644 --- a/xen/arch/x86/hvm/irq.c +++ b/xen/arch/x86/hvm/irq.c @@ -577,12 +577,6 @@ int hvm_local_events_need_delivery(struct vcpu *v) return !hvm_interrupt_blocked(v, intack); } -void arch_evtchn_inject(struct vcpu *v) -{ - if ( is_hvm_vcpu(v) ) - hvm_assert_evtchn_irq(v); -} - static void irq_dump(struct domain *d) { struct hvm_irq *hvm_irq = hvm_domain_irq(d); diff --git a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c index 7d0b19f2d2..6865c790ab 100644 --- a/xen/arch/x86/irq.c +++ b/xen/arch/x86/irq.c @@ -2732,3 +2732,9 @@ int allocate_and_map_msi_pirq(struct domain *d, int index, int *pirq_p, return ret; } + +void arch_evtchn_inject(struct vcpu *v) +{ + if ( is_hvm_vcpu(v) ) + hvm_assert_evtchn_irq(v); +} -- generated by git-patchbot for /home/xen/git/xen.git#staging _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |