diff options
author | Jake Oshins <jakeo@microsoft.com> | 2016-02-16 21:56:23 +0000 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-02-16 16:56:12 -0600 |
commit | 4daace0d8ce851f8f8f91563c835e3000c954d5e (patch) | |
tree | f2b648fb723a02e4a5da2673d48b73c4077a419a /drivers/pci/Kconfig | |
parent | 788858ebc49a07fe5f812778f245a51b0d800d82 (diff) | |
download | linux-4daace0d8ce851f8f8f91563c835e3000c954d5e.tar.bz2 |
PCI: hv: Add paravirtual PCI front-end for Microsoft Hyper-V VMs
Add a new driver which exposes a root PCI bus whenever a PCI Express device
is passed through to a guest VM under Hyper-V. The device can be single-
or multi-function. The interrupts for the devices are managed by an IRQ
domain, implemented within the driver.
[bhelgaas: fold in race condition fix (http://lkml.kernel.org/r/1456340196-13717-1-git-send-email-jakeo@microsoft.com)]
Signed-off-by: Jake Oshins <jakeo@microsoft.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/Kconfig')
-rw-r--r-- | drivers/pci/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index 73de4efcbe6e..54a544109b7a 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -118,4 +118,11 @@ config PCI_LABEL def_bool y if (DMI || ACPI) select NLS +config PCI_HYPERV + tristate "Hyper-V PCI Frontend" + depends on PCI && X86 && HYPERV && PCI_MSI && PCI_MSI_IRQ_DOMAIN && X86_64 + help + The PCI device frontend driver allows the kernel to import arbitrary + PCI devices from a PCI backend to support PCI driver domains. + source "drivers/pci/host/Kconfig" |