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-unstable] ioemu: Fix unmapping issue on hot-removin

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] ioemu: Fix unmapping issue on hot-removing pass-thru device
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Aug 2008 02:20:19 -0700
Delivery-date: Wed, 20 Aug 2008 02:20:33 -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.fraser@xxxxxxxxxx>
# Date 1219219335 -3600
# Node ID 0cf244daf3c49d4423a64fbcf115b8e2377c748c
# Parent  a864ba2f0aa511dd42d213271b2829e6d12e1e17
ioemu: Fix unmapping issue on hot-removing pass-thru device

Signed-off-by: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
---
 tools/ioemu/hw/pass-through.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r a864ba2f0aa5 -r 0cf244daf3c4 tools/ioemu/hw/pass-through.c
--- a/tools/ioemu/hw/pass-through.c     Tue Aug 19 19:45:27 2008 +0100
+++ b/tools/ioemu/hw/pass-through.c     Wed Aug 20 09:02:15 2008 +0100
@@ -1423,7 +1423,7 @@ static void pt_unregister_regions(struct
     for ( i = 0; i < PCI_NUM_REGIONS; i++ )
     {
         e_size = assigned_device->bases[i].e_size;
-        if ( e_size == 0 )
+        if ( (e_size == 0) || (assigned_device->bases[i].e_physbase == -1) )
             continue;
 
         type = d->io_regions[i].type;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] ioemu: Fix unmapping issue on hot-removing pass-thru device, Xen patchbot-unstable <=