qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/2] Add vfio dma-buf based display reset handling
@ 2018-04-27  9:11 Tina Zhang
  2018-04-27  9:11 ` [Qemu-devel] [PATCH v4 1/2] console: introduce dpy_gfx_update_full Tina Zhang
  2018-04-27  9:11 ` [Qemu-devel] [PATCH v4 2/2] ui: introduce vfio_display_reset Tina Zhang
  0 siblings, 2 replies; 3+ messages in thread
From: Tina Zhang @ 2018-04-27  9:11 UTC (permalink / raw)
  To: alex.williamson, kraxel, zhenyuw, hang.yuan
  Cc: Tina Zhang, intel-gvt-dev, qemu-devel

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.

v3->v4:
 - Move dma-buf based display check into the vfio_display_reset().
   (Gerd)

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    | 11 +++++++++++
 hw/vfio/pci.c        |  4 ++++
 hw/vfio/pci.h        |  1 +
 include/ui/console.h |  1 +
 ui/console.c         | 10 ++++++++++
 5 files changed, 27 insertions(+)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-27  9:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-27  9:11 [Qemu-devel] [PATCH v4 0/2] Add vfio dma-buf based display reset handling Tina Zhang
2018-04-27  9:11 ` [Qemu-devel] [PATCH v4 1/2] console: introduce dpy_gfx_update_full Tina Zhang
2018-04-27  9:11 ` [Qemu-devel] [PATCH v4 2/2] ui: introduce vfio_display_reset Tina Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).