summaryrefslogtreecommitdiff
path: root/kvm.h
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2011-02-07 12:19:23 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2011-02-14 12:39:47 -0200
commit13f157d54da54480f942280a45d1ed2c0b935028 (patch)
treebac4ebff6dc9509f1010900c987cc22aaed25f4b /kvm.h
parent47ee885bf1c11048b5e5a8f39588e9c61a53ae0c (diff)
downloadqemu-13f157d54da54480f942280a45d1ed2c0b935028.tar.gz
qemu-13f157d54da54480f942280a45d1ed2c0b935028.tar.bz2
qemu-13f157d54da54480f942280a45d1ed2c0b935028.zip
Introduce log_start/log_stop in CPUPhysMemoryClient
In order to use log_start/log_stop with Xen as well in the vga code, this two operations have been put in CPUPhysMemoryClient. The two new functions cpu_physical_log_start,cpu_physical_log_stop are used in hw/vga.c and replace the kvm_log_start/stop. With this, vga does no longer depends on kvm header. [ Jan: rebasing and style fixlets ] Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm.h')
-rw-r--r--kvm.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/kvm.h b/kvm.h
index 7a4d550898..4caa6ec19e 100644
--- a/kvm.h
+++ b/kvm.h
@@ -58,9 +58,6 @@ int kvm_init_vcpu(CPUState *env);
int kvm_cpu_exec(CPUState *env);
#if !defined(CONFIG_USER_ONLY)
-int kvm_log_start(target_phys_addr_t phys_addr, ram_addr_t size);
-int kvm_log_stop(target_phys_addr_t phys_addr, ram_addr_t size);
-
void kvm_setup_guest_memory(void *start, size_t size);
int kvm_coalesce_mmio_region(target_phys_addr_t start, ram_addr_t size);