patch to get live-migration working