qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/6] Refine IGD stolen memory support in VFIO
@ 2017-05-29 17:30 Zhi Wang
  2017-05-29  8:29 ` Zhi Wang
                   ` (16 more replies)
  0 siblings, 17 replies; 23+ messages in thread
From: Zhi Wang @ 2017-05-29 17:30 UTC (permalink / raw)
  To: qemu-devel
  Cc: chuanxiao.dong, daniel.vetter, xiong.y.zhang, joonas.lahtinen,
	zhiyuan.lv, zhenyuw, kevin.tian, Zhi Wang

This patch series are aim to refine the IGD stolen memory support in QEMU.

Some features of Intel HW relies on the stolen memory to work, but some of
registers used to indicate the base address of stolen memory can only be
programmed once after system is powered-up. This will cause problems if
the base of the stolen memory is changed during IGD passthrough.

The solution of this patch series is allocating a new VM dedicated memory
as "guest stolen memory" in QEMU for isolation and let the "guest stolen
memory" sits in the same PA as host.

Also it introduces Intel platform definitions and clears some old funtions
and definitions.

Zhi Wang (6):
  vfio: Add Intel platform definitions
  vfio: Setup IGD quirks earlier
  vfio: Setup IGD stolen memory
  vfio: Refine GGTT clearing
  vfio: Remove extra quirks and old definitions
  vfio: Setup IGD stolen memory under secondary mode

 hw/vfio/Makefile.objs    |   2 +-
 hw/vfio/intel-platform.c | 366 +++++++++++++++++++++++++++++++++++++++++++++++
 hw/vfio/intel-platform.h |  38 +++++
 hw/vfio/pci-quirks.c     | 322 ++++++++---------------------------------
 4 files changed, 463 insertions(+), 265 deletions(-)
 create mode 100644 hw/vfio/intel-platform.c
 create mode 100644 hw/vfio/intel-platform.h

-- 
2.7.4

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

end of thread, other threads:[~2017-06-01 21:10 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-29 17:30 [Qemu-devel] [RFC 0/6] Refine IGD stolen memory support in VFIO Zhi Wang
2017-05-29  8:29 ` Zhi Wang
2017-05-31 22:13   ` Wang, Zhi A
2017-05-29  8:43 ` no-reply
2017-05-29  8:45 ` no-reply
2017-05-29  8:50 ` no-reply
2017-05-29 17:30 ` [Qemu-devel] [RFC 1/6] vfio: Add Intel platform definitions Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 2/6] vfio: Setup IGD quirks earlier Zhi Wang
2017-06-01 20:34   ` Alex Williamson
2017-05-29 17:30 ` [Qemu-devel] [RFC 3/6] vfio: Setup IGD stolen memory Zhi Wang
2017-06-01 21:10   ` Alex Williamson
2017-05-29 17:30 ` [Qemu-devel] [RFC 4/6] vfio: Refine GGTT clearing Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 5/6] vfio: Remove extra quirks and old definitions Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 6/6] vfio: Setup IGD stolen memory under secondary mode Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 0/6] Refine IGD stolen memory support in VFIO Zhi Wang
2017-06-01  2:52   ` Tian, Kevin
2017-05-29 17:30 ` [Qemu-devel] [RFC 1/6] vfio: Add Intel platform definitions Zhi Wang
2017-06-01 20:22   ` Alex Williamson
2017-05-29 17:30 ` [Qemu-devel] [RFC 2/6] vfio: Setup IGD quirks earlier Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 3/6] vfio: Setup IGD stolen memory Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 4/6] vfio: Refine GGTT clearing Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 5/6] vfio: Remove extra quirks and old definitions Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 6/6] vfio: Setup IGD stolen memory under secondary mode Zhi Wang

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).