memory: Do not allocate FlatView in address_space_init
commit67ace39b253ed5ae465275bc870f7e495547658b
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Thu, 21 Sep 2017 08:51:05 +0000 (21 18:51 +1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Sep 2017 21:19:38 +0000 (21 23:19 +0200)
treebb3e430ac8f2a4069c146de4c38b8e640fab5bfd
parent967dc9b1194a9281124b2e1ce67b6c3359a2138f
memory: Do not allocate FlatView in address_space_init

This creates a new AS object without any FlatView as
memory_region_transaction_commit() may want to reuse the empty FV.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20170921085110.25598-14-aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory.c