memory: reuse section_from_flat_range()
commit279836f8190fd9d6428324414ee802c38c09fbc5
authorDavid Hildenbrand <david@redhat.com>
Mon, 16 Oct 2017 14:43:02 +0000 (16 16:43 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Oct 2017 08:15:00 +0000 (18 10:15 +0200)
tree68669589504e0c68ed2f9279bcb1f19357a4281f
parenta6ffc4232ab649ea91bd951f8c4f9cc598a66fd6
memory: reuse section_from_flat_range()

We can use section_from_flat_range() instead of manually initializing.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20171016144302.24284-8-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory.c