WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-4.1-testing] Revert 23092:0f2b9b6c5a74

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.1-testing] Revert 23092:0f2b9b6c5a74
From: Xen patchbot-4.1-testing <patchbot@xxxxxxx>
Date: Wed, 17 Aug 2011 06:00:21 +0100
Delivery-date: Tue, 16 Aug 2011 22:01:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1313504059 -3600
# Node ID c8987be040d03acf69b068379ba063c446ce97ac
# Parent  84e3706df07a1963e23cd3875d8603917657d462
Revert 23092:0f2b9b6c5a74

It has broken unmodified Windows HVM guests for some users:

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 84e3706df07a -r c8987be040d0 xen/arch/x86/irq.c
--- a/xen/arch/x86/irq.c        Fri Aug 12 11:33:41 2011 +0100
+++ b/xen/arch/x86/irq.c        Tue Aug 16 15:14:19 2011 +0100
@@ -1869,8 +1869,14 @@
 
 int hvm_domain_use_pirq(struct domain *d, int pirq)
 {
+    int emuirq;
+    
     if ( !is_hvm_domain(d) || pirq < 0 )
         return 0;
 
-    return (domain_pirq_to_emuirq(d, pirq) != IRQ_UNBOUND);
+    emuirq = domain_pirq_to_emuirq(d, pirq);
+    if ( emuirq != IRQ_UNBOUND && d->pirq_to_evtchn[pirq] != 0 )
+        return 1;
+    else
+        return 0;
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.1-testing] Revert 23092:0f2b9b6c5a74, Xen patchbot-4 . 1-testing <=