]> git.proxmox.com Git - qemu.git/commit
Sort RAMBlocks by ID for migration, not by ram_addr
authorAvi Kivity <avi@redhat.com>
Wed, 21 Dec 2011 11:22:16 +0000 (13:22 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 4 Jan 2012 11:34:48 +0000 (13:34 +0200)
commit8fec98b41b0535ea4823c59ee9bf7d768feac74a
tree2a9c39cfba3f6a2cb6362d7ea3f2a0775e8e6086
parent71c510e26e4d90690966a70cb14d9c6e7ab5ba4e
Sort RAMBlocks by ID for migration, not by ram_addr

ram_addr is (a) unstable (b) going away.  Sort by idstr instead.

Commit b2e0a138e initially introduced the sorting for the purpose
of improving debuggability.  After this patch, the order is still
stable, but perhaps less usable by a human.

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch_init.c