hw/display/ramfb: fix guest memory un-mapping
commitd57f252addefa0a66db554038b063fd2331bb269
authorHou Qiming <hqm03ster@gmail.com>
Mon, 13 May 2019 11:57:29 +0000 (13 14:57 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 24 May 2019 07:10:29 +0000 (24 09:10 +0200)
tree8b67bff2598ea2442880abdc4e521fbcc3f7ff49
parent8dc7fd56dd4f56ab8ff1df3765ae6b5d3ac11c5e
hw/display/ramfb: fix guest memory un-mapping

Pulled back the `qemu_create_displaysurface_guestmem` function to create
the display surface so that the guest memory gets properly unmapped.

Signed-off-by: HOU Qiming <hqm03ster@gmail.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Message-id: 20190513115731.17588-2-marcel.apfelbaum@gmail.com
[rename the new functions and use QEMU coding style]
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/ramfb.c