Re: [Qemu-devel] [PATCH 1/3] block: allow migration to work with image files

2010-09-12 Thread Avi Kivity
On 09/12/2010 07:10 PM, Anthony Liguori wrote: On 09/12/2010 11:06 AM, Avi Kivity wrote: On 09/12/2010 05:26 PM, Anthony Liguori wrote: On 09/12/2010 08:28 AM, Avi Kivity wrote: On 09/12/2010 03:06 PM, Anthony Liguori wrote: Backing files and logical size shouldn't change during live mig

Re: [Qemu-devel] [PATCH 1/3] block: allow migration to work with image files

2010-09-12 Thread Anthony Liguori
On 09/12/2010 11:06 AM, Avi Kivity wrote: On 09/12/2010 05:26 PM, Anthony Liguori wrote: On 09/12/2010 08:28 AM, Avi Kivity wrote: On 09/12/2010 03:06 PM, Anthony Liguori wrote: Backing files and logical size shouldn't change during live migration. Why not? To make our lives easier. I

Re: [Qemu-devel] [PATCH 1/3] block: allow migration to work with image files

2010-09-12 Thread Avi Kivity
On 09/12/2010 05:26 PM, Anthony Liguori wrote: On 09/12/2010 08:28 AM, Avi Kivity wrote: On 09/12/2010 03:06 PM, Anthony Liguori wrote: Backing files and logical size shouldn't change during live migration. Why not? To make our lives easier. It means management needs to block volume re

Re: [Qemu-devel] [PATCH 1/3] block: allow migration to work with image files

2010-09-12 Thread Anthony Liguori
On 09/12/2010 08:28 AM, Avi Kivity wrote: On 09/12/2010 03:06 PM, Anthony Liguori wrote: Backing files and logical size shouldn't change during live migration. Why not? To make our lives easier. Regards, Anthony Liguori But even so, I think the interface make sense. It's basically, d

Re: [Qemu-devel] [PATCH 1/3] block: allow migration to work with image files

2010-09-12 Thread Avi Kivity
On 09/12/2010 03:06 PM, Anthony Liguori wrote: Backing files and logical size shouldn't change during live migration. Why not? But even so, I think the interface make sense. It's basically, drop anything you have cached that may change during migration. What needs to be read is depende

Re: [Qemu-devel] [PATCH 1/3] block: allow migration to work with image files

2010-09-12 Thread Anthony Liguori
On 09/12/2010 05:37 AM, Avi Kivity wrote: On 09/11/2010 05:04 PM, Anthony Liguori wrote: Image files have two types of data: immutable data that describes things like image size, backing files, etc. and mutable data that includes offset and reference count tables. Note: even the logical si

Re: [Qemu-devel] [PATCH 1/3] block: allow migration to work with image files

2010-09-12 Thread Avi Kivity
On 09/11/2010 05:04 PM, Anthony Liguori wrote: Image files have two types of data: immutable data that describes things like image size, backing files, etc. and mutable data that includes offset and reference count tables. Note: even the logical size is, in principle, mutable. If we introduc

[Qemu-devel] [PATCH 1/3] block: allow migration to work with image files

2010-09-11 Thread Anthony Liguori
Image files have two types of data: immutable data that describes things like image size, backing files, etc. and mutable data that includes offset and reference count tables. Today, image formats aggressively cache mutable data to improve performance. In some cases, this happens before a guest e