summary refs log tree commit diff stats
path: root/hw/xen_pt.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-09-30 22:21:11 +0200
committerAvi Kivity <avi@redhat.com>2012-10-15 11:43:06 +0200
commitd22b096ef6e0b20810193b68a1d472f3fb8a4f9e (patch)
tree753a129e3f8cf0c5b916ecf2612c72c9e7e83b3f /hw/xen_pt.c
parent0fada67420e29f389119ca6f44285203400e0730 (diff)
downloadfocaccia-qemu-d22b096ef6e0b20810193b68a1d472f3fb8a4f9e.tar.gz
focaccia-qemu-d22b096ef6e0b20810193b68a1d472f3fb8a4f9e.zip
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.c')
0 files changed, 0 insertions, 0 deletions