]> git.proxmox.com Git - mirror_qemu.git/commit - include/exec/memory.h
memory: count number of active VGA logging clients
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Jul 2015 11:56:53 +0000 (13:56 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jul 2015 11:57:45 +0000 (13:57 +0200)
commitdeb809edb85334c8e90530e1071b98f4da25ebaa
tree22dae854f70525d72bd6689e3640d8fc64a0220e
parentfb4309695905de889d318caec8eb13d3b2c118d5
memory: count number of active VGA logging clients

For a board that has multiple framebuffer devices, both of them
might want to use DIRTY_MEMORY_VGA on the same memory region.
The lack of reference counting in memory_region_set_log makes
this very awkward to implement.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/exec/memory.h
memory.c