]> git.proxmox.com Git - mirror_qemu.git/commit - exec.c
memory: move tcg flush into a tcg memory listener
authorAvi Kivity <avi@redhat.com>
Tue, 2 Oct 2012 16:54:45 +0000 (18:54 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 22 Oct 2012 12:50:07 +0000 (14:50 +0200)
commit1d71148eace669827ba15101819b54b20fcca616
tree405d3ca7e6a8a749f083013d20f4709bcca7fe3b
parent2673a5da25ea9005e562c20a18cf469ed4f21060
memory: move tcg flush into a tcg memory listener

We plan to make the core listener listen to all address spaces; this
will cause many more flushes than necessary.  Prepare for that by
moving the flush into a tcg-specific listener.

Later we can avoid registering the listener if tcg is disabled.

Signed-off-by: Avi Kivity <avi@redhat.com>
exec.c