Re: [Qemu-devel] [PATCH] Multiple ramfb enhancements

2019-05-09 Thread Hou Qiming
Done. Will resend the split patches. On Thu, May 9, 2019 at 2:48 PM Gerd Hoffmann wrote: > On Thu, May 09, 2019 at 08:15:44AM +0800, Hou Qiming wrote: > > Pulled back the `qemu_create_displaysurface_guestmem` function to create > > the display surface so that the guest memory gets properly unmap

Re: [Qemu-devel] [PATCH] Multiple ramfb enhancements

2019-05-08 Thread Gerd Hoffmann
On Thu, May 09, 2019 at 08:15:44AM +0800, Hou Qiming wrote: > Pulled back the `qemu_create_displaysurface_guestmem` function to create > the display surface so that the guest memory gets properly unmaped. > > Only allow one resolution change per guest boot, which prevents a > crash when the guest

[Qemu-devel] [PATCH] Multiple ramfb enhancements

2019-05-08 Thread Hou Qiming
Pulled back the `qemu_create_displaysurface_guestmem` function to create the display surface so that the guest memory gets properly unmaped. Only allow one resolution change per guest boot, which prevents a crash when the guest writes garbage to the configuration space (e.g. when rebooting). Writ