qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH 0/3 v5] Live migration without shared storage
Date: Mon, 02 Nov 2009 20:47:34 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Thunderbird/3.0b4

On 11/02/2009 03:40 PM, address@hidden wrote:
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
data, time of the migration will be linear with the amount of allocated
data (user responsibility to verify that the same backend file reside
on src and destination).

Live migration will work as follows:
(qemu) migrate -d tcp:0:4444 # for ordinary live migration
(qemu) migrate -d blk tcp:0:4444 # for live migration with complete storage copy
(qemu) migrate -d blk inc tcp:0:4444 # for live migration with incremental 
storage copy, storage is cow based.

I'd like to see the syntax generalized. For one, the guest may have several disks; an install image cdrom might be available as an nfs image but the main storage is local. Secondly, there can be several levels of cow and we want to control which one we copy.

I'll leave the exact details to the qpeople, but if we can specify a copy depth for each device, where 0=copy nothing, n=copy everything, 1=copy the last level (equivalent to -d blk inc) I think we'll have covered everything.

--
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]