> /* ---------------------------------------------------------------------- */
> +void vfio_display_reset(VFIOPCIDevice *vdev)
> +{
> + if (!vdev || !vdev->dpy || !vdev->dpy->con) {
> + return;
> + }
> +
> + dpy_gl_scanout_disable(vdev->dpy->con);This should not be called with a region-based vfio display. Please add a check. Otherwise looks fine to me. cheers, Gerd
