qemu: memory notifiers
commitf6f3fbcab0c36f17ea63573ed4d21816a09c978e
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 27 Jan 2010 20:06:57 +0000 (27 22:06 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 9 Feb 2010 22:56:13 +0000 (9 16:56 -0600)
treed7897bf389e87488f1365aefd5c0fdfc6f4d0fcc
parentcca1af8c4d2ef6449fd61494ba2cb087b838011c
qemu: memory notifiers

This adds notifiers for phys memory changes: a set of callbacks that
vhost can register and update kernel accordingly.  Down the road, kvm
code can be switched to use these as well, instead of calling kvm code
directly from exec.c as is done now.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
cpu-common.h
exec.c