Zhihong Wang bd2e0c3fe5 vhost: add APIs for live migration
This patch adds APIs to enable live migration for non-builtin data paths.

At src side, last_avail/used_idx from the device need to be set into the
virtio_net structure, and the log_base and log_size from the virtio_net
structure need to be set into the device.

At dst side, last_avail/used_idx need to be read from the virtio_net
structure and set into the device.

Signed-off-by: Zhihong Wang <zhihong.wang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2018-04-14 00:40:21 +02:00
..
2018-04-15 15:07:11 +02:00
2018-02-01 01:03:26 +01:00
2018-04-11 23:40:40 +02:00
2018-04-11 01:47:47 +02:00
2018-04-04 17:33:08 +02:00
2018-01-31 15:35:56 +01:00
2018-01-31 15:35:01 +01:00
2018-01-30 21:59:00 +01:00