Introduce log_start/log_stop in CPUPhysMemoryClient
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 7 Feb 2011 11:19:23 +0000 (12:19 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 14 Feb 2011 14:39:47 +0000 (12:39 -0200)
commit13f157d54da54480f942280a45d1ed2c0b935028
treebac4ebff6dc9509f1010900c987cc22aaed25f4b
parent47ee885bf1c11048b5e5a8f39588e9c61a53ae0c
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>
cpu-all.h
cpu-common.h
exec.c
hw/vga.c
hw/vhost.c
kvm-all.c
kvm-stub.c
kvm.h