qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Qemu Live Migration: File Descriptor
@ 2012-07-14 14:45 siddharth srivastava
  2012-07-16 15:29 ` Eric Blake
  0 siblings, 1 reply; 2+ messages in thread
From: siddharth srivastava @ 2012-07-14 14:45 UTC (permalink / raw)
  To: qemu-devel

Hi

I have been exploring various live migration ways that qemu supports.
In the Qemu Migration documentation at: [1], it is only mentioned how
to invoke tcp and exec migration schemes.
But there is no mention of unix and fd migration schemes.

In the code I see that the argument for tcp, fd,unix and exec goes
into uri. But neither in the code nor in the docs/migration, it is
mentioned what it expects as uri.
So how do you start migration with these schemes ?




[1]: http://www.linux-kvm.org/page/Migration
-- 
Regards
Siddharth Srivastava

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Qemu Live Migration: File Descriptor
  2012-07-14 14:45 [Qemu-devel] Qemu Live Migration: File Descriptor siddharth srivastava
@ 2012-07-16 15:29 ` Eric Blake
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Blake @ 2012-07-16 15:29 UTC (permalink / raw)
  To: siddharth srivastava; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]

On 07/14/2012 08:45 AM, siddharth srivastava wrote:
> Hi
> 
> I have been exploring various live migration ways that qemu supports.
> In the Qemu Migration documentation at: [1], it is only mentioned how
> to invoke tcp and exec migration schemes.
> But there is no mention of unix and fd migration schemes.
> 
> In the code I see that the argument for tcp, fd,unix and exec goes
> into uri. But neither in the code nor in the docs/migration, it is
> mentioned what it expects as uri.
> So how do you start migration with these schemes ?

The libvirt code base exposes all of these migration schemes (although
it currently favors fd: migration wherever possible).  Starting a
migration requires a Unix socket on the monitor command, and passing in
the file descriptor via SCM_RIGHTS via the 'getfd' monitor command prior
to using the 'migrate' monitor command to use that new fd.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 620 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-16 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-14 14:45 [Qemu-devel] Qemu Live Migration: File Descriptor siddharth srivastava
2012-07-16 15:29 ` Eric Blake

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).