]> git.ipfire.org Git - thirdparty/qemu.git/commit - exec.c
qemu_ram_block_by_name
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 5 Nov 2015 18:10:33 +0000 (18:10 +0000)
committerJuan Quintela <quintela@redhat.com>
Tue, 10 Nov 2015 13:51:48 +0000 (14:51 +0100)
commite3dd74934f2d2c8c67083995928ff68e8c1d0030
treed02d77903f79e38a107939894c5d4b3819cc395f
parent422148d3e56c3c9a07c0cf36c1e0a0b76f09c357
qemu_ram_block_by_name

Add a function to find a RAMBlock by name; use it in two
of the places that already open code that loop; we've
got another use later in postcopy.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
exec.c
include/exec/cpu-common.h
migration/ram.c