Re: [Qemu-devel] Re: [PATCH 19/19] migration: add a parser to accept FT migration incoming mode.

Paolo Bonzini
2011-01-28T15:10:39Z

On 01/28/2011 04:05 PM, Yoshiaki Tamura wrote:
> Having a scheme like "kemari:tcp:host:port" looks quite
> challenging to me. We can of course add some quick hacks for it,
> but adding a nice layered architecture should be more
> appropriate. Similar to protocols and formats in block layer?
> At the same time, I want to avoid anything over engineered.

I was simply thinking of

if (strstart (uri, "kemari:", &p)) {
ft_mode = FT_INIT;
uri = p;
}

:)

I think the same could be done for outgoing migration instead of -k
actually.

Paolo