|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] ioemu: Fix unmapping issue on hot-removin
# 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 <=
|
|
|
|
|