From: Anthony Liguori <aliguori@us.ibm.com>
To: Stefan Berger <stefanb@us.ibm.com>
Cc: "Cihula, Joseph" <joseph.cihula@intel.com>,
xen-devel@lists.xensource.com, Ronald Perez <ronpz@us.ibm.com>,
"Scarlata, Vincent R" <vincent.r.scarlata@intel.com>
Subject: Re: A migration framework for external devices
Date: Thu, 09 Feb 2006 09:05:37 -0600 [thread overview]
Message-ID: <43EB5A41.3070304@us.ibm.com> (raw)
In-Reply-To: <OF8DA111F2.0B12B3AF-ON8525710F.006CD0C6-8525710F.006F618A@us.ibm.com>
Hi Stefan,
Thanks for sending this note out. Comments inlined.
Stefan Berger wrote:
>
> Hello!
>
> As part of our off-list discussion on how to migrate the virtual TPM
> in support of virtual machine migration (live migration), we came up
> with the idea of having a migration framework that could be used for
> general migration of 'external devices' such as disk images and
> possibly serialized state of device models. I was going to look into
> this now and was wondering whether a framework like this is the right
> approach, particularly since it would exist next to XenD, which I
> believe is handling live migration ?
I'm immediately wary of any framework for migration. There's been talk
(at least) of moving to a push/pull migration model which would avoid
having to constantly listen for incoming migrations (and also add a bit
of security too). Any sort of framework seems like its just going to
make those sort of changes harder.
> To be a bit clearer on the idea of the framework: It would consist of
> a deamon running on the target machine whose different plug-ins know
> how to handle the migration of different pieces of state information
> and know how to de-serialize them (which mere 'scp' would not do).
Plug-ins concern me even more as it implies a stable interface. There's
a lot of churning going on in Xend right now and we're just not there
yet. Also, I'd like to see us move away from using a daemon for
migration anyway.
I'm assuming TPM migration requires bidirectional communication right?
Is it static throughout the lifetime of the domain or does it change?
How much state are we talking about migrating?
I think simple patches that introduce TPM migration would be a
preferable start. If we end up having a lot of code that handles
individual device migration than we can abstract it.
Regards,
Anthony Liguori
> Clients on the source machine would communicate with that daemon and
> transfer the state. The clients would have to be triggered by XenD
> after a partition is not scheduled anymore and be given the IP address
> of the target machine. Afterwards there needs to be some
> synchronization on resuming the scheduling on the target machine after
> all state has been deserialized.
> The plugable deamon itself would handle the communication sockets, a
> low-level protocol which the plugins and clients would use, have
> support for timing and protocol time-outs and provide threading. The
> plugins would have to do the rest of what's necessary to communicate
> with the infrastructure and the higher-level protocol shared with the
> clients.
> Comments?
>
> Stefan
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
next prev parent reply other threads:[~2006-02-09 15:05 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-08 20:16 A migration framework for external devices Stefan Berger
2006-02-08 21:28 ` Muli Ben-Yehuda
2006-02-08 21:30 ` Stefan Berger
2006-02-08 22:32 ` Mike D. Day
2006-02-08 22:40 ` Stefan Berger
2006-02-09 12:34 ` Mike D. Day
2006-02-09 15:01 ` Daniel Veillard
2006-02-09 16:10 ` Mike D. Day
2006-02-13 10:18 ` Daniel Veillard
2006-02-09 16:20 ` Stefan Berger
2006-02-09 16:37 ` Mike D. Day
2006-02-09 15:05 ` Anthony Liguori [this message]
2006-02-09 16:52 ` Stefan Berger
2006-02-09 17:05 ` Anthony Liguori
2006-02-09 17:51 ` Stefan Berger
2006-02-09 18:35 ` Mike D. Day
2006-02-09 18:45 ` Anthony Liguori
2006-02-09 18:58 ` Mike D. Day
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=43EB5A41.3070304@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=joseph.cihula@intel.com \
--cc=ronpz@us.ibm.com \
--cc=stefanb@us.ibm.com \
--cc=vincent.r.scarlata@intel.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.