[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Migration via unix sockets.

From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH] Migration via unix sockets.
Date: Tue, 11 Aug 2009 12:35:43 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 08/11/2009 12:15 PM, Chris Lalancette wrote:
A possible implementation of that is attached.  I have to say, though, that it
is way more clumsy to use than the unix implementation I posted earlier.  On the
outgoing side, you have to use the "getfd" monitor command to pass the fd using
SCM_RIGHTS, then you have to issue another monitor command to start the 

(qemu) getfd migration # passes opened fd via SCM_RIGHTS
(qemu) migrate -d fd:migration

That doesn't seem so bad, especially if you're a program.

On the incoming side, you have to pass the fd via the command-line.  That means
that you have to first arrange for it not to be closed on exec, and it also
means that qemu is now depending on the external program to correctly set up the
incoming socket so that qemu can just do the accept() on it.

I'd like to see a qemu monitor incoming migration command.

None of these problems are insurmountable, but they do make it cumbersome to use
in general, and very difficult to use from the command-line.

These are intended for qemu control programs, not humans.

The other option is that I've misunderstood your intent, and if that is the
case, please correct me where I'm wrong :).

No, I think you got it.

error compiling committee.c: too many arguments to function

reply via email to

[Prev in Thread] Current Thread [Next in Thread]