Re: [RFC PATCH 5/6] savevm: Migrate RAM based on name/offset

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alex Williamson
Date: Tuesday, June 8, 2010 - 2:22 pm

On Tue, 2010-06-08 at 13:54 -0700, Chris Wright wrote:

Yep, definitely a good idea.


Not that I can see.  Appending it to this existing flag conveniently
lets the receiving side know when it's done since SUM(block->length)
equals MEM_SIZE.  Let me know if I'm missing an optimization or use case
you're thinking of.


Maybe.  It seems like we'd be doing a lot of reallocs as we go though.
I think we're pretty locked down once the migration starts, so nothing
should be changing on the source once we get started.  If that's the
case (someone correct me if it's not), sending the block list layout
first seems more efficient.  Thanks,

Alex


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 0/6] RAM migration overhaul, Alex Williamson, (Tue Jun 8, 12:14 pm)
[RFC PATCH 1/6] qemu_ram_alloc: Remove duplicate code, Alex Williamson, (Tue Jun 8, 12:15 pm)
[RFC PATCH 2/6] ram_blocks: Convert to a QLIST, Alex Williamson, (Tue Jun 8, 12:15 pm)
[RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Tue Jun 8, 12:15 pm)
[RFC PATCH 5/6] savevm: Migrate RAM based on name/offset, Alex Williamson, (Tue Jun 8, 12:16 pm)
Re: [RFC PATCH 3/6] RAMBlock: Add a name field, Anthony Liguori, (Tue Jun 8, 1:07 pm)
Re: [RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Tue Jun 8, 1:09 pm)
Re: [RFC PATCH 5/6] savevm: Migrate RAM based on name/offset, Alex Williamson, (Tue Jun 8, 2:22 pm)
Re: [RFC PATCH 2/6] ram_blocks: Convert to a QLIST, Chris Wright, (Tue Jun 8, 2:26 pm)
Re: [RFC PATCH 3/6] RAMBlock: Add a name field, Chris Wright, (Tue Jun 8, 2:41 pm)
Re: [RFC PATCH 2/6] ram_blocks: Convert to a QLIST, Alex Williamson, (Tue Jun 8, 2:45 pm)
Re: [RFC PATCH 2/6] ram_blocks: Convert to a QLIST, Chris Wright, (Tue Jun 8, 2:51 pm)
Re: [RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Tue Jun 8, 8:13 pm)
Re: [RFC PATCH 2/6] ram_blocks: Convert to a QLIST, Juan Quintela, (Wed Jun 9, 1:19 am)
Re: [RFC PATCH 3/6] RAMBlock: Add a name field, Avi Kivity, (Wed Jun 9, 4:55 am)
Re: [Qemu-devel] [RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Thu Jun 10, 7:33 am)
Re: [Qemu-devel] [RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Thu Jun 10, 8:05 am)
Re: [Qemu-devel] [RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Thu Jun 10, 8:21 am)
Re: [Qemu-devel] [RFC PATCH 3/6] RAMBlock: Add a name field, Alex Williamson, (Fri Jun 11, 8:50 am)