|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix passthrough of PCI capability structu
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1215505618 -3600
# Node ID f14dbf6a4118dbcd8351538ef046f264c2fd394f
# Parent 0d707feab01ed0f6b82f3243363aa248e96d39f8
Fix passthrough of PCI capability structures.
Signed-off-by: Naoki Nishiguchi <nisiguti@xxxxxxxxxxxxxx>
---
tools/ioemu/hw/pass-through.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 0d707feab01e -r f14dbf6a4118 tools/ioemu/hw/pass-through.c
--- a/tools/ioemu/hw/pass-through.c Mon Jul 07 16:13:53 2008 +0100
+++ b/tools/ioemu/hw/pass-through.c Tue Jul 08 09:26:58 2008 +0100
@@ -827,7 +827,7 @@ void pt_iomem_map(PCIDevice *d, int i, u
if ( e_size == 0 )
return;
- if ( !first_map )
+ if ( !first_map && old_ebase != -1 )
{
add_msix_mapping(assigned_device, i);
/* Remove old mapping */
@@ -883,7 +883,7 @@ void pt_ioport_map(PCIDevice *d, int i,
if ( e_size == 0 )
return;
- if ( !first_map )
+ if ( !first_map && old_ebase != -1 )
{
/* Remove old mapping */
ret = xc_domain_ioport_mapping(xc_handle, domid, old_ebase,
_______________________________________________
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] Fix passthrough of PCI capability structures.,
Xen patchbot-unstable <=
|
Previous by Date: |
Rep|icaWatches Massive discounts on more than 5000 brand timepieces such as vRolex, Breitling, Cartier, Patek Philippe, Hermes, Franck Muller & .. vllrgm ac, Dusti Marquitta |
Next by Date: |
[Xen-changelog] [xen-unstable] pvSCSI: fix xend, Xen patchbot-unstable |
Previous by Thread: |
Rep|icaWatches Massive discounts on more than 5000 brand timepieces such as vRolex, Breitling, Cartier, Patek Philippe, Hermes, Franck Muller & .. vllrgm ac, Dusti Marquitta |
Next by Thread: |
[Xen-changelog] [xen-unstable] pvSCSI: fix xend, Xen patchbot-unstable |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|
|
|