]> git.ipfire.org Git - thirdparty/qemu.git/commit
slirp: use libslirp migration code
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 12 Feb 2019 16:25:19 +0000 (17:25 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 7 Mar 2019 11:46:31 +0000 (12:46 +0100)
commitd890344166449c2c4cc039f19af61600920cd697
tree39c0a5a5c95d4bc9bcc2005a7782762b006c649b
parentb92a1ff497dd2f84902b252ad3de22fcc33b60e3
slirp: use libslirp migration code

slirp migration code uses QEMU vmstate so far, when building WITH_QEMU.

Introduce slirp_state_{load,save,version}() functions to move the
state saving handling to libslirp side.

So far, the bitstream compatibility should remain equal with current
QEMU, as this is effectively using the same code, with the same format
etc. When libslirp is made standalone, we will need some mechanism to
ensure bitstream compatibility regardless of the libslirp version
installed. See the FIXME note in the code.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190212162524.31504-3-marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
include/migration/qemu-file-types.h
migration/qemu-file.h
net/slirp.c
slirp/libslirp.h
slirp/slirp.c
slirp/state.c
slirp/state.h