|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen stable-4.4] x86: fix pirq path for pvh
commit b44b5d2fe0ae1546a14d0800e094535aa3359334
Author: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
AuthorDate: Fri Apr 4 10:37:57 2014 +0200
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Apr 4 10:37:57 2014 +0200
x86: fix pirq path for pvh
Just like hvm, pirq eoi shared page is not there for pvh. pvh should
not touch any pv_domain fields.
Signed-off-by: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
master commit: bea8ee1a5ff2bbe04fcc6297db45fac178a5abc9
master date: 2014-03-13 14:24:19 +0100
---
xen/arch/x86/irq.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c
index db70077..88444be 100644
--- a/xen/arch/x86/irq.c
+++ b/xen/arch/x86/irq.c
@@ -1068,13 +1068,13 @@ bool_t cpu_has_pending_apic_eoi(void)
static inline void set_pirq_eoi(struct domain *d, unsigned int irq)
{
- if ( !is_hvm_domain(d) && d->arch.pv_domain.pirq_eoi_map )
+ if ( is_pv_domain(d) && d->arch.pv_domain.pirq_eoi_map )
set_bit(irq, d->arch.pv_domain.pirq_eoi_map);
}
static inline void clear_pirq_eoi(struct domain *d, unsigned int irq)
{
- if ( !is_hvm_domain(d) && d->arch.pv_domain.pirq_eoi_map )
+ if ( is_pv_domain(d) && d->arch.pv_domain.pirq_eoi_map )
clear_bit(irq, d->arch.pv_domain.pirq_eoi_map);
}
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.4
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |