From e5896b12e20b86ba9d16582888d60cf5cb286517 Mon Sep 17 00:00:00 2001 From: Anthony PERARD Date: Mon, 7 Feb 2011 12:19:23 +0100 Subject: 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 Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- kvm-stub.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'kvm-stub.c') diff --git a/kvm-stub.c b/kvm-stub.c index d6b6c8e794..30f6ec3956 100644 --- a/kvm-stub.c +++ b/kvm-stub.c @@ -33,16 +33,6 @@ int kvm_init_vcpu(CPUState *env) return -ENOSYS; } -int kvm_log_start(target_phys_addr_t phys_addr, ram_addr_t size) -{ - return -ENOSYS; -} - -int kvm_log_stop(target_phys_addr_t phys_addr, ram_addr_t size) -{ - return -ENOSYS; -} - int kvm_coalesce_mmio_region(target_phys_addr_t start, ram_addr_t size) { return -ENOSYS; -- cgit v1.2.3