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 | d22b096ef6e0b20810193b68a1d472f3fb8a4f9e (patch) | |
tree | 753a129e3f8cf0c5b916ecf2612c72c9e7e83b3f /hw/xen_pt.h | |
parent | 0fada67420e29f389119ca6f44285203400e0730 (diff) |
kvm: use separate MemoryListeners for memory and I/O
The construct
if (address_space == get_system_memory()) {
// memory thing
} else {
// io thing
}
fails 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')
0 files changed, 0 insertions, 0 deletions