xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: xen-devel@lists.xenproject.org
Subject: [V1 PATCH 2/3] pvh: fix pirq path for pvh
Date: Mon, 24 Feb 2014 17:03:56 -0800	[thread overview]
Message-ID: <1393290237-28427-3-git-send-email-mukesh.rathor@oracle.com> (raw)
In-Reply-To: <1393290237-28427-2-git-send-email-mukesh.rathor@oracle.com>

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@oracle.com>
---
 xen/arch/x86/irq.c | 4 ++--
 1 file 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);
 }
 
-- 
1.8.3.1

  reply	other threads:[~2014-02-25  1:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25  1:03 [V1 PATCH 0/3] pvh: misc bug fixes Mukesh Rathor
2014-02-25  1:03 ` [V1 PATCH 1/3] pvh: early return from hvm_hap_nested_page_fault Mukesh Rathor
2014-02-25  1:03   ` Mukesh Rathor [this message]
2014-02-25  1:03     ` [V1 PATCH 3/3] pvh: disallow PHYSDEVOP_pirq_eoi_gmfn_v2/v1 Mukesh Rathor
     [not found]       ` <530C7362020000780011F0F0@nat28.tlf.novell.com>
     [not found]         ` <530C7663020000780011F104@nat28.tlf.novell.com>
     [not found]           ` <20140225152514.GA4322@konrad-lan.dumpdata.com>
     [not found]             ` <530CD069020000780011F3D1@nat28.tlf.novell.com>
     [not found]               ` <20140225123314.334b7fec@mantra.us.oracle.com>
     [not found]                 ` <530DC4A6020000780011F6C0@nat28.tlf.novell.com>
     [not found]                   ` <20140227190649.47d4eb7a@mantra.us.oracle.com>
     [not found]                     ` <5310524802000078001201B8@nat28.tlf.novell.com>
2014-03-03 12:30                       ` George Dunlap
2014-03-04  7:44                         ` Jan Beulich
2014-02-25  9:28     ` [V1 PATCH 2/3] pvh: fix pirq path for pvh Jan Beulich
2014-02-25 20:44       ` Mukesh Rathor
2014-02-26  9:44         ` Jan Beulich
2014-02-25  9:26   ` [V1 PATCH 1/3] pvh: early return from hvm_hap_nested_page_fault Jan Beulich
2014-02-27 10:56   ` Tim Deegan
2014-02-28  2:25     ` Mukesh Rathor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1393290237-28427-3-git-send-email-mukesh.rathor@oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).