Index: /trunk/src/VBox/Main/ConsoleImpl-LiveMigration.cpp
===================================================================
--- /trunk/src/VBox/Main/ConsoleImpl-LiveMigration.cpp	(revision 23605)
+++ /trunk/src/VBox/Main/ConsoleImpl-LiveMigration.cpp	(revision 23606)
@@ -39,3 +39,28 @@
 }
 
+int
+Console::migrationLoadRemote(PVM pVM, IMachine *pMachine)
+{
+    /*
+     * Get the config.
+     */
+    ULONG uPort;
+    HRESULT hrc = pMachine->COMGETTER(LiveMigrationPort)(&uPort);
+    if (FAILED(hrc))
+        return VERR_GENERAL_FAILURE;
 
+    Bstr bstrPassword;
+    hrc = pMachine->COMGETTER(LiveMigrationPassword)(bstrPassword.asOutParam());
+    if (FAILED(hrc))
+        return VERR_GENERAL_FAILURE;
+    Utf8Str strPassword(bstrPassword);
+
+    /*
+     * Create the TCP server.
+     */
+    //RTTcpServerCreateEx(NULL,
+
+
+    return VERR_NOT_IMPLEMENTED;
+}
+
Index: /trunk/src/VBox/Main/ConsoleImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/ConsoleImpl.cpp	(revision 23605)
+++ /trunk/src/VBox/Main/ConsoleImpl.cpp	(revision 23606)
@@ -227,5 +227,6 @@
           mSetVMErrorCallback(NULL),
           mConfigConstructor(NULL),
-          mStartPaused(false)
+          mStartPaused(false),
+          mLiveMigrationTarget(FALSE)
     {}
 
@@ -235,4 +236,5 @@
     Console::SharedFolderDataMap mSharedFolders;
     bool mStartPaused;
+    BOOL mLiveMigrationTarget;
 
     typedef std::list< ComPtr<IMedium> > HardDiskList;
@@ -4622,4 +4624,13 @@
         task->mSavedStateFile = savedStateFile;
 
+    /* test and clear the LiveMigrationTarget property  */
+    rc = mMachine->COMGETTER(LiveMigrationTarget)(&task->mLiveMigrationTarget);
+    CheckComRCReturnRC(rc);
+    if (task->mLiveMigrationTarget)
+    {
+        rc = mMachine->COMSETTER(LiveMigrationTarget)(FALSE);
+        CheckComRCReturnRC(rc);
+    }
+
     /* Reset differencing hard disks for which autoReset is true */
     {
@@ -6715,4 +6726,7 @@
                     }
                 }
+                else if (task->mLiveMigrationTarget)
+                    /* -> ConsoleImpl-LiveMigration.cpp */
+                    vrc = console->migrationLoadRemote(pVM, pMachine);
                 else if (task->mStartPaused)
                     /* done */
Index: /trunk/src/VBox/Main/include/ConsoleImpl.h
===================================================================
--- /trunk/src/VBox/Main/include/ConsoleImpl.h	(revision 23605)
+++ /trunk/src/VBox/Main/include/ConsoleImpl.h	(revision 23606)
@@ -512,4 +512,9 @@
 #endif
 
+    /** @name Live migration support
+     * @{ */
+    int migrationLoadRemote(PVM pVM, IMachine *pMachine);
+    /** @} */
+
     bool mSavedStateDataLoaded : 1;
 
