[Qemu-devel] [PATCH 2/3 v5] Block live migration

2009-11-02 Thread lirans
This patch introduces block migration called during live migration. Block are being copied to the destination in an async way. First the code will transfer the whole disk and then transfer all dirty blocks accumulted during the migration. Still need to improve transition from the iterative phase

[Qemu-devel] [PATCH 3/3 v5] Enable migration without shared storage from the monitor

2009-11-02 Thread lirans
This patch adds the option to activate non-shared storage migration from the monitor. The migration command is as follows: (qemu) migrate -d tcp:0: # for ordinary live migration (qemu) migrate -d -b tcp:0: # for live migration with complete storage copy (qemu) migrate -d -i tcp:0: # for

[Qemu-devel] [PATCH 0/3 v5] Live migration without shared storage

2009-11-02 Thread lirans
This series adds support for live migration without shared storage, means copy the storage while migrating. It was tested with KVM. Supports 2 ways to replicate the storage during migration: 1. Complete copy of storage to destination 2. Assuming the storage is cow based, copy only the allocated

[Qemu-devel] [PATCH 1/3 v5] Expose a mechanism to trace block writes

2009-11-02 Thread lirans
To support live migration without shared storage we need to be able to trace writes to disk while migrating. This Patch expose dirty block tracking per device to be polled from upper layer. Changes from v4: - Register dirty tracking for each block device. - Minor coding style issues. - Block.c wil