This patch as originally titled Calpella/Sandybridge IGD
passthrough. In this revision, I have separated cleanup portion of the
patch from Calpella/Sandybridge portion. This cleanup portion
incorporates inputs from Stephano and proposed patch from Isaku. The main
changes are consolidating graphics passthrough specific code into pt-graphics.c
and removal of hardcoded intercepts for host bridge (device 00:00.0) accesses
in pci.c.
Signed-off-by: Allen Kay [allen.m.kay@xxxxxxxxx]
Signed-off-by: Isaku Yamahata [yamahata@xxxxxxxxxxxxx]
---
hw/pass-through.c | 215
+++++++-----------------------------------------
hw/pass-through.h | 20 ++++-
hw/pc.c
| 4 +
hw/pci.c
| 31 +------
hw/pci.h
| 6 +-
hw/piix_pci.c
| 4 +-
hw/pt-graphics.c | 240 +++++++++++++++++++++++++++++++++++++++++++++++++++++
xen-hooks.mak
| 2 +-
8 files changed, 303 insertions(+), 219 deletions(-)
create mode 100644 hw/pt-graphics.c