kvm: Introduce kvm logging interface (Glauber Costa)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 24 Nov 2008 19:36:26 +0000 (19:36 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 24 Nov 2008 19:36:26 +0000 (19:36 +0000)
commit5832d1f2f51e1a1991c53ea98c535a619cf03001
tree1a648b754be7ee26f3dadce9cc218048674a37f6
parentb4fbd8798aeb7870221769576973aeed909d304b
kvm: Introduce kvm logging interface (Glauber Costa)

Introduce functions to control logging of memory regions.
We select regions based on its start address, a
guest_physical_addr (target_phys_addr_t, in qemu nomenclature).

The main user of this interface right now is VGA optimization
(a way of reducing the number of mmio exits).

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5792 c046a42c-6fe2-441c-8c8c-71466251a162
kvm-all.c
kvm.h