ivshmem: Simplify memory regions for BAR 2 (shared memory)
commitc2d8019cd7e9c38c5ef9dc44ae1e3adccd57a6a4
authorMarkus Armbruster <armbru@redhat.com>
Tue, 15 Mar 2016 18:34:47 +0000 (15 19:34 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 21 Mar 2016 20:29:02 +0000 (21 21:29 +0100)
treefce51bbb80944274f823fb70c33305500f3344df
parent5503e285041979dd29698ecb41729b3b22622e8d
ivshmem: Simplify memory regions for BAR 2 (shared memory)

ivshmem_realize() puts the shared memory region in a container region.
Used to be necessary to permit delayed mapping of the shared memory.
However, we recently moved to synchronous mapping, in "ivshmem:
Receive shared memory synchronously in realize()" and the commit
following it.  The container is redundant since then.  Drop it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1458066895-20632-33-git-send-email-armbru@redhat.com>
hw/misc/ivshmem.c