loader: Abstract away ref to memory region names
commit401cf7fdc4b9f1971ee74927511391a66af0627e
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Fri, 15 Aug 2014 06:53:55 +0000 (14 23:53 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Aug 2014 10:06:21 +0000 (18 12:06 +0200)
treed9be6bce1d7eeeb6691b2d0fed57d6b017033ad2
parentc54779f9623ba189fc79f249f8ee1309b73320db
loader: Abstract away ref to memory region names

Use the function provided rather than spying on the struct.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/loader.c