[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix iobmp_mask setup when permitting a domU access to



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 188ef899e626442b361732eb3eeafb5c5152f333
# Parent  f36627941bbe224ee7177f0ae63bba099376c668
Fix iobmp_mask setup when permitting a domU access to
I/O port ranges.

Signed-off-by: Ryan Wilson <hap9@xxxxxxxxxxxxxx>

diff -r f36627941bbe -r 188ef899e626 xen/arch/x86/dom0_ops.c
--- a/xen/arch/x86/dom0_ops.c   Wed Dec 28 14:17:04 2005
+++ b/xen/arch/x86/dom0_ops.c   Wed Dec 28 15:23:42 2005
@@ -153,7 +153,7 @@
             break;
 
         ret = -ENOMEM;
-        if ( d->arch.iobmp_mask != NULL )
+        if ( d->arch.iobmp_mask == NULL )
         {
             if ( (d->arch.iobmp_mask = xmalloc_array(
                 u8, IOBMP_BYTES)) == NULL )

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.