Skip to content

Commit

Permalink
KVM: s390: Add a channel I/O based virtio transport driver.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Cornelia Huck authored and Gleb Natapov committed Dec 18, 2012
1 parent 0abbe44 commit 7e64e05
Show file tree
Hide file tree
Showing 4 changed files with 856 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/s390/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ enum interruption_class {
IOINT_CSC,
IOINT_PCI,
IOINT_MSI,
IOINT_VIR,
NMI_NMI,
NR_IRQS,
};
Expand Down
1 change: 1 addition & 0 deletions arch/s390/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/s390/kvm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# it under the terms of the GNU General Public License (version 2 only)
# as published by the Free Software Foundation.

obj-$(CONFIG_S390_GUEST) += kvm_virtio.o
obj-$(CONFIG_S390_GUEST) += kvm_virtio.o virtio_ccw.o
Loading

0 comments on commit 7e64e05

Please sign in to comment.