hw/display/ramfb: lock guest resolution after it's set
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). Signed-off-by: NHOU Qiming <hqm03ster@gmail.com> Signed-off-by: NMarcel Apfelbaum <marcel.apfelbaum@gmail.com> Message-id: 20190513115731.17588-3-marcel.apfelbaum@gmail.com [fixed malformed patch] Signed-off-by: NMarcel Apfelbaum <marcel.apfelbaum@gmail.com> Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
Showing
想要评论请 注册 或 登录