slirp: VMStatify sbuf
commit2a7cab9e17bbe78f37c7515278eefc32876fa7a2
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 20 Feb 2017 18:50:17 +0000 (20 18:50 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 29 Apr 2017 16:44:16 +0000 (29 18:44 +0200)
treef706cd59f0775d39e8b9ffcb338e847a972c699f
parente3ec38ffd6eeff3c3db9f0fd942e37a60f36e86c
slirp: VMStatify sbuf

Convert the sbuf structure to a VMStateDescription.
Note this uses the VMSTATE_WITH_TMP mechanism to calculate
and reload the offsets based on the pointers.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
slirp/sbuf.h
slirp/slirp.c