diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2012-12-14 17:02:18 +0100 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2012-12-18 14:37:13 +0200 |
commit | 7e64e0597fd67c975bfa3e76401bfbcdd5ae0ff9 (patch) | |
tree | 8af50236372d9db8679e9cbf10fad40766fedf4e /arch/s390 | |
parent | 0abbe448eddb2263db3fb776757f480b34accd88 (diff) | |
download | kernel_goldelico_gta04-7e64e0597fd67c975bfa3e76401bfbcdd5ae0ff9.zip kernel_goldelico_gta04-7e64e0597fd67c975bfa3e76401bfbcdd5ae0ff9.tar.gz kernel_goldelico_gta04-7e64e0597fd67c975bfa3e76401bfbcdd5ae0ff9.tar.bz2 |
KVM: s390: Add a channel I/O based virtio transport driver.
Add a driver for kvm guests that matches virtual ccw devices provided
by the host as virtio bridge devices.
These virtio-ccw devices use a special set of channel commands in order
to perform virtio functions.
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/include/asm/irq.h | 1 | ||||
-rw-r--r-- | arch/s390/kernel/irq.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/irq.h b/arch/s390/include/asm/irq.h index e6972f8..aa6d0d7 100644 --- a/arch/s390/include/asm/irq.h +++ b/arch/s390/include/asm/irq.h @@ -35,6 +35,7 @@ enum interruption_class { IOINT_CSC, IOINT_PCI, IOINT_MSI, + IOINT_VIR, NMI_NMI, NR_IRQS, }; diff --git a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c index bf24293..a9806ea 100644 --- a/arch/s390/kernel/irq.c +++ b/arch/s390/kernel/irq.c @@ -60,6 +60,7 @@ static const struct irq_class intrclass_names[] = { [IOINT_CSC] = {.name = "CSC", .desc = "[I/O] CHSC Subchannel"}, [IOINT_PCI] = {.name = "PCI", .desc = "[I/O] PCI Interrupt" }, [IOINT_MSI] = {.name = "MSI", .desc = "[I/O] MSI Interrupt" }, + [IOINT_VIR] = {.name = "VIR", .desc = "[I/O] Virtual I/O Devices"}, [NMI_NMI] = {.name = "NMI", .desc = "[NMI] Machine Check"}, }; |