« Previous | Next » 

Revision 50c1e149

ID50c1e1491e1981ecba14a477897681d8d0602500

Added by Avi Kivity about 12 years ago

memory: support stateless memory listeners

Current memory listeners are incremental; that is, they are expected to
maintain their own state, and receive callbacks for changes to that state.

This patch adds support for stateless listeners; these work by receiving
a >begin() callback (which tells them that new state is coming), a
sequence of ->region_add() and ->region_nop() callbacks, and then a
>commit() callback which signifies the end of the new state. They should
ignore ->region_del() callbacks.

Signed-off-by: Avi Kivity <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences