diff options
author | Alexey Kardashevskiy | 2017-09-21 10:50:55 +0200 |
---|---|---|
committer | Paolo Bonzini | 2017-09-21 23:19:37 +0200 |
commit | cc94cd6d36602d976a5e7bc29134d1eaefb4102e (patch) | |
tree | 42f60c2259e5635773f09473b007bf4fd0cc0823 /include/exec/memory-internal.h | |
parent | memory: Open code FlatView rendering (diff) | |
download | qemu-cc94cd6d36602d976a5e7bc29134d1eaefb4102e.tar.gz qemu-cc94cd6d36602d976a5e7bc29134d1eaefb4102e.tar.xz qemu-cc94cd6d36602d976a5e7bc29134d1eaefb4102e.zip |
memory: Move FlatView allocation to a helper
This moves a FlatView allocation and initialization to a helper.
While we are nere, replace g_new with g_new0 to not to bother if we add
new fields in the future.
This should cause no behavioural change.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20170921085110.25598-4-aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec/memory-internal.h')
0 files changed, 0 insertions, 0 deletions