diff options
| author | Hou Qiming | 2019-05-13 13:57:30 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2019-05-24 09:10:29 +0200 |
| commit | a9e0cb67b7f4c485755659f9b764c38b5f970de4 (patch) | |
| tree | 5bb64ad145364b05042b78f9c87b0d75f385eee5 /include/hw | |
| parent | hw/display/ramfb: fix guest memory un-mapping (diff) | |
| download | qemu-a9e0cb67b7f4c485755659f9b764c38b5f970de4.tar.gz qemu-a9e0cb67b7f4c485755659f9b764c38b5f970de4.tar.xz qemu-a9e0cb67b7f4c485755659f9b764c38b5f970de4.zip | |
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: HOU Qiming <hqm03ster@gmail.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Message-id: 20190513115731.17588-3-marcel.apfelbaum@gmail.com
[fixed malformed patch]
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/hw')
0 files changed, 0 insertions, 0 deletions
