From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBcEb-0003ta-HS for qemu-devel@nongnu.org; Thu, 26 Apr 2018 04:26:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBcEY-0003L2-Ay for qemu-devel@nongnu.org; Thu, 26 Apr 2018 04:26:33 -0400 Received: from mga07.intel.com ([134.134.136.100]:55655) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fBcEY-0003KO-1Q for qemu-devel@nongnu.org; Thu, 26 Apr 2018 04:26:30 -0400 From: Tina Zhang Date: Thu, 26 Apr 2018 16:21:18 +0800 Message-Id: <1524730880-7154-1-git-send-email-tina.zhang@intel.com> Subject: [Qemu-devel] [PATCH v3 0/2] Add vfio dma-buf based display reset handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: alex.williamson@redhat.com, kraxel@redhat.com, zhenyuw@linux.intel.com, hang.yuan@intel.com Cc: Tina Zhang , intel-gvt-dev@lists.freedesktop.org, qemu-devel@nongnu.org vfio display needs to release the invalid display resource and disable the scanout mode during guest OS reboot, otherwise bugs come out. Thanks hang.yuan@intel.com for helping root cause the issue. v2->v3: - Limit vfio_display_reset to dma-buf based vfio display. (Gerd) v1->v2: - remove dpy_gfx_switch_surface. (Gerd) - add dpy_gfx_update_full. (Gerd) Tina Zhang (2): console: introduce dpy_gfx_update_full ui: introduce vfio_display_reset hw/vfio/display.c | 10 ++++++++++ hw/vfio/pci.c | 7 +++++++ hw/vfio/pci.h | 1 + include/ui/console.h | 1 + ui/console.c | 10 ++++++++++ 5 files changed, 29 insertions(+) -- 2.7.4