qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: qemu-devel@nongnu.org, Juan Quintela <quintela@redhat.com>,
	Jan Kiszka <jan.kiszka@siemens.com>,
	Jason Wang <jasowang@redhat.com>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	samuel.thibault@ens-lyon.org
Subject: Re: [Qemu-devel] [PATCH 1/1] RFC: net/slirp: link with libslirp
Date: Mon, 11 Feb 2019 11:09:07 +0000	[thread overview]
Message-ID: <20190211110907.GP27585@redhat.com> (raw)
In-Reply-To: <20190208181226.24052-1-marcandre.lureau@redhat.com>

On Fri, Feb 08, 2019 at 07:12:26PM +0100, Marc-André Lureau wrote:
> Once libslirp has received its first release, we can link with the
> external libslirp library.
> 
> The migration data should be compatible with current and older qemu
> versions (same compatibility as today). See "slirp: add state
> saving/loading" patch. However, the content should be treated as a
> blob, as the format may change eventually in the future.

How are we going to manage live migration compat if libslirp changes
the blob content ?

Bear in mind that we need to support all existing QEMU releases live
migrating to effectively all future QEMU releases, with all future
libslirp releases, in *both* directions. ie arbitrarily newer
libslirp needs to be able to emit a blob format that can be read
by arbitrarily older slirp inside QEMU.

Normally we tie data format changes to the machine type. How are
we going to achieve such machine type associations with an external
libslirp ?

It seems to me that if a libslirp wants to change live migration
format, it will need to support both the old and new formats
indefinitely, and the new format must be an opt-in. QEMU can
then tell libslirp which migraiton format based on the machine
type.



Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

  parent reply	other threads:[~2019-02-11 11:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-08 18:12 [Qemu-devel] [PATCH 1/1] RFC: net/slirp: link with libslirp Marc-André Lureau
2019-02-08 21:56 ` Philippe Mathieu-Daudé
2019-02-09 13:17 ` Samuel Thibault
2019-02-10 21:37 ` Peter Maydell
2019-02-11 10:49   ` Marc-André Lureau
2019-02-11 11:09 ` Daniel P. Berrangé [this message]
2019-02-11 11:34   ` Marc-André Lureau
2019-02-11 11:41     ` Daniel P. Berrangé
2019-02-11 22:22     ` Samuel Thibault
2019-02-12 10:31       ` Daniel P. Berrangé
2019-02-12 10:43         ` Dr. David Alan Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190211110907.GP27585@redhat.com \
    --to=berrange@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=jasowang@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=samuel.thibault@ens-lyon.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).