Difference between revisions of "XAPI VM Migration"

From Xen
(Created page with "<!-- MoinMoin name: XAPI_VM_Migration --> <!-- Comment: --> <!-- WikiMedia name: XAPI VM Migration --> <!-- Page revision: 00000002 --> <!-- Original date: Wed Jul 13 …")
(No difference)

Revision as of 21:07, 10 November 2011


XAPI VM Migration

Here's an overview of how xapi does migration of VMs. The code can be found in api.hg/ocaml/xapi/xapi_vm_migrate.ml.

Receiver
* attach the VDIs
* create the domain
* restore the devices (unless we must delay until after VDI activation)
* send handshake to transmitter
Synchronisation point 1
* restore the domain, deserialising it from the transmitter
Synchronisation point 2
* receive handshake from transmitter
Synchronisation point 3
* activate VDIs (unless it's a localhost migrate)
* restore the devices (unless done already)
* unpause the domain
* plug PCI devices
* send handshake to transmitter
Synchronisation point 4

You may be interested in a proposal for CrossPoolMigration