« Previous | Next » 

Revision d22b096e

IDd22b096ef6e0b20810193b68a1d472f3fb8a4f9e

Added by Avi Kivity over 11 years ago

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences