[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/3] ramfb enhancement
From: |
Hou Qiming |
Subject: |
Re: [Qemu-devel] [PATCH 2/3] ramfb enhancement |
Date: |
Fri, 10 May 2019 14:41:36 +0800 |
> 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).
>
> Hmm? Did you see that happen in practice?
> It is not easy to write to fw_cfg by accident ...
>
>
Yes, this does happen in practice. It's observed in KVMGT setups by another
github user and me, when the guest Intel driver loads or when the guest
reboots. Link:
https://github.com/intel/gvt-linux/issues/23#issuecomment-483651476
Now that you mentioned it, I start to feel that it's not accidental. A
closer look at the "garbage" in that post shows that the overwriting
content are valid resolution values in the wrong endian. It could be a
misguided attempt to "resize ramfb" by the guest Intel driver.
-----
I'll fix the addr / length thing and remove the test part in vfio-pci in V2.
Qiming
- Re: [Qemu-devel] Patch: Precautionary glBindTexture in surface_gl_update_texture, (continued)
- Re: [Qemu-devel] Patch: Precautionary glBindTexture in surface_gl_update_texture, Marcel Apfelbaum, 2019/05/06
- [Qemu-devel] [PATCH] Multiple ramfb enhancements, Hou Qiming, 2019/05/08
- Re: [Qemu-devel] [PATCH] Multiple ramfb enhancements, Gerd Hoffmann, 2019/05/09
- [Qemu-devel] [PATCH 2/3] ramfb enhancement, Hou Qiming, 2019/05/09
- Re: [Qemu-devel] [PATCH 2/3] ramfb enhancement, Marcel Apfelbaum, 2019/05/09
- Re: [Qemu-devel] [PATCH 2/3] ramfb enhancement, Gerd Hoffmann, 2019/05/10
- Re: [Qemu-devel] [PATCH 2/3] ramfb enhancement,
Hou Qiming <=
- Re: [Qemu-devel] [PATCH 2/3] ramfb enhancement, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PATCH 3/3] ramfb enhancement, Hou Qiming, 2019/05/09
- Re: [Qemu-devel] [PATCH 3/3] ramfb enhancement, Marcel Apfelbaum, 2019/05/09
- Re: [Qemu-devel] [PATCH 3/3] ramfb enhancement, Hou Qiming, 2019/05/09
- Re: [Qemu-devel] [PATCH 3/3] ramfb enhancement, Marcel Apfelbaum, 2019/05/10
- Re: [Qemu-devel] [PATCH 3/3] ramfb enhancement, Gerd Hoffmann, 2019/05/10
- Re: [Qemu-devel] [PATCH 3/3] ramfb enhancement, Marcel Apfelbaum, 2019/05/10
- Re: [Qemu-devel] [PATCH 3/3] ramfb enhancement, Gerd Hoffmann, 2019/05/10
- Re: [Qemu-devel] [PATCH 3/3] ramfb enhancement, Marcel Apfelbaum, 2019/05/10
- [Qemu-devel] [PATCH v2 1/3] hw/display/ramfb: fix guest memory un-mapping, Hou Qiming, 2019/05/10