commit | ebfb766a1a9bebf9ba828f4ac5124614c4a4f4ff | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Sun Sep 30 22:21:11 2012 +0200 |
committer | Avi Kivity <avi@redhat.com> | Sun Sep 30 22:21:11 2012 +0200 |
tree | bac5e01b296abdec68473711ead41737fe16d662 | |
parent | 41d4b89a86dbf8e501fb5aa8a336823f2e205854 [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>