diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-24 19:36:26 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-24 19:36:26 +0000 |
commit | cb9f13c01dce79a5472eb1b4b541f5f084a64222 (patch) | |
tree | 1a648b754be7ee26f3dadce9cc218048674a37f6 /kvm.h | |
parent | 9b851006cbdbd91fd22be08e51629feb8723a767 (diff) | |
download | qemu-cb9f13c01dce79a5472eb1b4b541f5f084a64222.tar.gz qemu-cb9f13c01dce79a5472eb1b4b541f5f084a64222.tar.bz2 qemu-cb9f13c01dce79a5472eb1b4b541f5f084a64222.zip |
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
Diffstat (limited to 'kvm.h')
-rw-r--r-- | kvm.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -38,6 +38,10 @@ void kvm_set_phys_mem(target_phys_addr_t start_addr, ram_addr_t size, ram_addr_t phys_offset); +void kvm_physical_sync_dirty_bitmap(target_phys_addr_t start_addr, target_phys_addr_t end_addr); + +int kvm_log_start(target_phys_addr_t phys_addr, target_phys_addr_t len); +int kvm_log_stop(target_phys_addr_t phys_addr, target_phys_addr_t len); /* internal API */ struct KVMState; |