Revert "vfio/pci-quirks.c: Disable stolen memory for igd VFIO"
commit93587e3af3a259deac89c12863d93653d69d22b8
authorXiong Zhang <xiong.y.zhang@intel.com>
Fri, 31 Mar 2017 16:04:41 +0000 (31 10:04 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 31 Mar 2017 16:04:41 +0000 (31 10:04 -0600)
tree445528f390512fcf57dde9819d07b96d5473a7ff
parent37c4a85cd256a51c5f58ee7e531f25f0e89b2c87
Revert "vfio/pci-quirks.c: Disable stolen memory for igd VFIO"

This reverts commit c2b2e158cc7b1cb431bd6039824ec13c3184a775.

The original patch intend to prevent linux i915 driver from using
stolen meory. But this patch breaks windows IGD driver loading on
Gen9+, as IGD HW will use stolen memory on Gen9+, once windows IGD
driver see zero size stolen memory, it will unload.
Meanwhile stolen memory will be disabled in 915 when i915 run as
a guest.

Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com>
[aw: Gen9+ is SkyLake and newer]
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci-quirks.c