qemu-e2k/replay
Pavel Dovgalyuk 646c5478c0 record/replay: add network support
This patch adds support of recording and replaying network packets in
irount rr mode.

Record and replay for network interactions is performed with the network filter.
Each backend must have its own instance of the replay filter as follows:
 -netdev user,id=net1 -device rtl8139,netdev=net1
 -object filter-replay,id=replay,netdev=net1

Replay network filter is used to record and replay network packets. While
recording the virtual machine this filter puts all packets coming from
the outer world into the log. In replay mode packets from the log are
injected into the network device. All interactions with network backend
in replay mode are disabled.

v5 changes:
 - using iov_to_buf function instead of loop

Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2017-01-06 10:38:00 +08:00
..
Makefile.objs record/replay: add network support 2017-01-06 10:38:00 +08:00
replay-char.c replay: Clean up includes 2016-06-07 18:19:23 +03:00
replay-events.c record/replay: add network support 2017-01-06 10:38:00 +08:00
replay-input.c replay: Use new QAPI cloning 2016-07-06 10:52:04 +02:00
replay-internal.c replay: move internal data to the structure 2016-09-27 11:57:30 +02:00
replay-internal.h record/replay: add network support 2017-01-06 10:38:00 +08:00
replay-net.c record/replay: add network support 2017-01-06 10:38:00 +08:00
replay-snapshot.c replay: allow replay stopping and restarting 2016-09-27 11:57:30 +02:00
replay-time.c replay: move internal data to the structure 2016-09-27 11:57:30 +02:00
replay.c record/replay: add network support 2017-01-06 10:38:00 +08:00