Re: [PATCH] hw/display/ramfb: plug slight guest-triggerable leak on mode setting

2023-10-02 Thread Laszlo Ersek
On 10/1/23 00:14, Laszlo Ersek wrote: > On 9/29/23 13:17, Marc-André Lureau wrote: >> Hi >> >> On Wed, Sep 27, 2023 at 7:46 PM Laszlo Ersek wrote: >>> >>> On 9/19/23 15:19, Laszlo Ersek wrote: The fw_cfg DMA write callback in ramfb prepares a new display surface in QEMU; this new surface

Re: [PATCH] hw/display/ramfb: plug slight guest-triggerable leak on mode setting

2023-10-01 Thread Laszlo Ersek
On 10/1/23 18:07, Marc-André Lureau wrote: > Hi Laszlo > > On Sun, Oct 1, 2023 at 4:20 AM Laszlo Ersek wrote: >> >> On 10/1/23 00:14, Laszlo Ersek wrote: >>> On 9/29/23 13:17, Marc-André Lureau wrote: > [..] fwiw, my migration support patch is still unreviewed: https://patchew.org/QEMU/

Re: [PATCH] hw/display/ramfb: plug slight guest-triggerable leak on mode setting

2023-10-01 Thread Marc-André Lureau
Hi Laszlo On Sun, Oct 1, 2023 at 4:20 AM Laszlo Ersek wrote: > > On 10/1/23 00:14, Laszlo Ersek wrote: > > On 9/29/23 13:17, Marc-André Lureau wrote: [..] > >> fwiw, my migration support patch is still unreviewed: > >> https://patchew.org/QEMU/20230920082651.3349712-1-marcandre.lur...@redhat.com/

Re: [PATCH] hw/display/ramfb: plug slight guest-triggerable leak on mode setting

2023-09-30 Thread Laszlo Ersek
On 10/1/23 00:14, Laszlo Ersek wrote: > On 9/29/23 13:17, Marc-André Lureau wrote: >> Hi >> >> On Wed, Sep 27, 2023 at 7:46 PM Laszlo Ersek wrote: >>> >>> On 9/19/23 15:19, Laszlo Ersek wrote: The fw_cfg DMA write callback in ramfb prepares a new display surface in QEMU; this new surface

Re: [PATCH] hw/display/ramfb: plug slight guest-triggerable leak on mode setting

2023-09-30 Thread Laszlo Ersek
On 9/29/23 13:17, Marc-André Lureau wrote: > Hi > > On Wed, Sep 27, 2023 at 7:46 PM Laszlo Ersek wrote: >> >> On 9/19/23 15:19, Laszlo Ersek wrote: >>> The fw_cfg DMA write callback in ramfb prepares a new display surface in >>> QEMU; this new surface is put to use ("swapped in") upon the next di

Re: [PATCH] hw/display/ramfb: plug slight guest-triggerable leak on mode setting

2023-09-29 Thread Gerd Hoffmann
On Wed, Sep 27, 2023 at 05:45:25PM +0200, Laszlo Ersek wrote: > On 9/19/23 15:19, Laszlo Ersek wrote: > > The fw_cfg DMA write callback in ramfb prepares a new display surface in > > QEMU; this new surface is put to use ("swapped in") upon the next display > > update. At that time, the old surface

Re: [PATCH] hw/display/ramfb: plug slight guest-triggerable leak on mode setting

2023-09-29 Thread Marc-André Lureau
Hi On Wed, Sep 27, 2023 at 7:46 PM Laszlo Ersek wrote: > > On 9/19/23 15:19, Laszlo Ersek wrote: > > The fw_cfg DMA write callback in ramfb prepares a new display surface in > > QEMU; this new surface is put to use ("swapped in") upon the next display > > update. At that time, the old surface (if

Re: [PATCH] hw/display/ramfb: plug slight guest-triggerable leak on mode setting

2023-09-27 Thread Laszlo Ersek
On 9/19/23 15:19, Laszlo Ersek wrote: > The fw_cfg DMA write callback in ramfb prepares a new display surface in > QEMU; this new surface is put to use ("swapped in") upon the next display > update. At that time, the old surface (if any) is released. > > If the guest triggers the fw_cfg DMA write

[PATCH] hw/display/ramfb: plug slight guest-triggerable leak on mode setting

2023-09-19 Thread Laszlo Ersek
The fw_cfg DMA write callback in ramfb prepares a new display surface in QEMU; this new surface is put to use ("swapped in") upon the next display update. At that time, the old surface (if any) is released. If the guest triggers the fw_cfg DMA write callback at least twice between two adjacent dis