diff options
author | Avi Kivity <avi@redhat.com> | 2012-09-30 22:21:11 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-10-15 11:43:06 +0200 |
commit | 12b40e471f33e552fa3d962887b416cf67831446 (patch) | |
tree | 00400ebcc4f1df405bc914b014e6b6c794978bd6 /hw/xen_pt.h | |
parent | d22b096ef6e0b20810193b68a1d472f3fb8a4f9e (diff) |
xen_pt: use separate MemoryListeners for memory and I/O
Using an unfiltered memory listener will cause regions to be reported
fails multiple times if we have more than two address spaces. Use a separate
listener for memory and I/O, and utilize MemoryListener's address space
filtering to fix this.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/xen_pt.h')
-rw-r--r-- | hw/xen_pt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xen_pt.h b/hw/xen_pt.h index 112477a881..f15e69a290 100644 --- a/hw/xen_pt.h +++ b/hw/xen_pt.h @@ -209,6 +209,7 @@ struct XenPCIPassthroughState { MemoryRegion rom; MemoryListener memory_listener; + MemoryListener io_listener; }; int xen_pt_config_init(XenPCIPassthroughState *s); |