[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-4.1-testing] x86: Check for valid pirq values in hvm_domain_use_pirq
# HG changeset patch # User Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> # Date 1305219854 -3600 # Node ID 51ad19c58962e3c5f90a9d96b1d0cd2f4d665631 # Parent ed630a821de1442270d4f1c4228262e406fdeb2e x86: Check for valid pirq values in hvm_domain_use_pirq Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> xen-unstable changeset: 23339:f9bb0bbea7c2 xen-unstable date: Thu May 12 16:42:54 2011 +0100 --- diff -r ed630a821de1 -r 51ad19c58962 xen/arch/x86/irq.c --- a/xen/arch/x86/irq.c Thu May 12 18:03:47 2011 +0100 +++ b/xen/arch/x86/irq.c Thu May 12 18:04:14 2011 +0100 @@ -1871,7 +1871,7 @@ { int emuirq; - if ( !is_hvm_domain(d) ) + if ( !is_hvm_domain(d) || pirq < 0 ) return 0; emuirq = domain_pirq_to_emuirq(d, pirq); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |