xemu/stubs
Pavel Dovgalyuk 33577b47c6 replay: character devices
This patch implements record and replay of character devices.
It records chardevs communication in replay mode. Recorded information
include data read from backend and counter of bytes written
from frontend to backend to preserve frontend internal state.
If character device was configured through the command line in record mode,
then in replay mode it should be also added to command line. Backend of
the character device could be changed in replay mode.
Replaying of devices that perform ioctl and get_msgfd operations is not
supported.
gdbstub which also acts as a backend is not recorded to allow controlling
the replaying through gdb. Monitor backends are also not recorded.

Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Message-Id: <20160314074436.4980.83856.stgit@PASHA-ISP>
[Add stubs. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-03-15 18:23:40 +01:00
..
arch-query-cpu-def.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
bdrv-commit-all.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
blockdev-close-all-bdrv-states.c all: Clean up includes 2016-02-16 14:29:28 +00:00
clock-warp.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
cpu-get-clock.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
cpu-get-icount.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
cpus.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
dump.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fd-register.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fdset-add-fd.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fdset-find-fd.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fdset-get-fd.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fdset-remove-fd.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
gdbstub.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
get-fd.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
get-next-serial.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
get-vm-name.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
iothread-lock.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
is-daemonized.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
kvm.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
machine-init-done.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
Makefile.objs blockdev: Keep track of monitor-owned BDS 2016-02-02 17:50:46 +01:00
migr-blocker.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
mon-is-qmp.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
mon-printf.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
monitor-init.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
notify-event.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
qmp_pc_dimm_device_list.c move get_current_ram_size to virtio-balloon.c 2016-02-23 12:55:16 +02:00
qtest.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
replay-user.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
replay.c replay: character devices 2016-03-15 18:23:40 +01:00
reset.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
runstate-check.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
set-fd-handler.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
slirp.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
sysbus.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
target-get-monitor-def.c typedefs: Add CPUState 2016-03-01 13:27:09 +00:00
target-monitor-defs.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
uuid.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
vhost.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
vm-stop.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
vmstate.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00