[Intel-gfx] [IGDVFIO] [PATCH 6/8] RFC and help completing: Intel IGD Direct Assignment with VFIO

2014-09-24 Thread Andrew Barnes
include/hw/pci/pci.h patch - diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h index c352c7b..d3bc224 100644 --- a/include/hw/pci/pci.h +++ b/include/hw/pci/pci.h @@ -338,6 +338,9 @@ typedef PCIINTxRoute (*pci_route_irq_fn)(void *opaque, int pin); #define PCI_BUS(obj)

[Intel-gfx] [IGDVFIO] [PATCH 8/8] RFC and help completing: Intel IGD Direct Assignment with VFIO

2014-09-24 Thread Andrew Barnes
Seabios patch This patch covers all the changes to seabios. The intentions are to make seabios behave like the hosts BIOS. and like the hosts BIOS, configure the Q35 chipset more thoroughly. This patch configures TOM, TOUUD, TOLUD, BDSM, BGSM, TSEG, IGD-OPREGION. by writing new base addresses, V

[Intel-gfx] [IGDVFIO] [PATCH 4/8] RFC and help completing: Intel IGD Direct Assignment with VFIO

2014-09-24 Thread Andrew Barnes
+ *2014 Andrew Barnes IGD Support + *Temporarily extended to provide host config read/write. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -37,9 +39,9 @@ #inc

[Intel-gfx] [IGDVFIO] [PATCH 7/8] RFC and help completing: Intel IGD Direct Assignment with VFIO

2014-09-24 Thread Andrew Barnes
include/hw/pci/pci_ids.h A very last minute realisation is that this is not needed. Its purpose is to make sure anything else that references LPC device ID is given the hacked-in host's ID. but in verifying the patch validity it appears this not referenced anywhere, other than where its taken care

[Intel-gfx] [IGDVFIO] [PATCH 5/8] RFC and help completing: Intel IGD Direct Assignment with VFIO

2014-09-24 Thread Andrew Barnes
include/hw/pci-host/q35.h this patch adds: * #defines for q35 pci config. not all are used, added for completeness patch - diff --git a/include/hw/pci-host/q35.h b/include/hw/pci-host/q35.h index d9ee978..abb795e 100644 --- a/include/hw/pci-host/q35.h +++ b/include/hw/pci-hos

[Intel-gfx] [IGDVFIO] [PATCH 3/8] RFC and help completing: Intel IGD Direct Assignment with VFIO

2014-09-24 Thread Andrew Barnes
@@ * Isaku Yamahata * VA Linux Systems Japan K.K. * Copyright (C) 2012 Jason Baron + * 2014 Andrew barnes IGD Support * * This is based on piix_pci.c, but heavily modified. * @@ -30,11 +31,26 @@ #include "hw/hw.h" #include "hw/pci-host/q

[Intel-gfx] [IGDVFIO] [PATCH 2/8] RFC and help completing: Intel IGD Direct Assignment with VFIO

2014-09-24 Thread Andrew Barnes
thors: * Alex Williamson + * Andrew Barnes IGD Support * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. @@ -56,6 +57,45 @@ #define VFIO_ALLOW_KVM_MSI 1 #define VFIO_ALLOW_KVM_MSIX 1 +/* A handy list of IGD device

[Intel-gfx] [IGDVFIO] [PATCH 1/8] RFC and help completing: Intel IGD Direct Assignment with VFIO

2014-09-24 Thread Andrew Barnes
..e6a7fbd 100644 --- a/hw/isa/lpc_ich9.c +++ b/hw/isa/lpc_ich9.c @@ -6,6 +6,7 @@ * Isaku Yamahata * VA Linux Systems Japan K.K. * Copyright (C) 2012 Jason Baron + * Copyright (C) 2014 Andrew Barnes IGD Support * * This is based on piix_pci.c, but heavily modified

[Intel-gfx] [IGDVFIO] [PATCH 0/8] RFC and help completing: Intel IGD Direct Assignment with VFIO

2014-09-24 Thread Andrew Barnes
d are the patches, incase this is a more usable format. They do also include Alex Williamsons e820 patch, this is not mentioned in the following patch emails. Kind Regards, Andrew Barnes diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 97932a6..18c72d2 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -