Hi,

Just a gentle ping regarding the v2 patch I sent a couple of weeks ago.
Patchew: https://patchew.org/QEMU/[email protected]/

Thanks for your time.

Best regards,
Matthew Penney



Sent with Proton Mail secure email.

On Thursday, 5 March 2026 at 21:33, Matthew Penney <[email protected]> 
wrote:

> Clear dangling GLib event source tag when virtio-console is
> unrealized. This prevents a stale tag from being used, and
> maintains consistency with the rest of virtio-console.
> 
> v2:
> Use g_clear_handle_id() per advice from Marc-André Lureau
> 
> Signed-off-by: Matthew Penney <[email protected]>
> Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>
> ---
>  hw/char/virtio-console.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/char/virtio-console.c b/hw/char/virtio-console.c
> index 25db0f019b..efe7cd6772 100644
> --- a/hw/char/virtio-console.c
> +++ b/hw/char/virtio-console.c
> @@ -257,7 +257,7 @@ static void virtconsole_unrealize(DeviceState *dev)
>      VirtConsole *vcon = VIRTIO_CONSOLE(dev);
>  
>      if (vcon->watch) {
> -        g_source_remove(vcon->watch);
> +        g_clear_handle_id(&vcon->watch, g_source_remove);
>      }
>  }
>  
> -- 
> 2.53.0
> 
>

Reply via email to