Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e64e059 authored by Cornelia Huck's avatar Cornelia Huck Committed by Gleb Natapov
Browse files

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: default avatarMarcelo Tosatti <mtosatti@redhat.com>
Reviewed-by: default avatarAlexander Graf <agraf@suse.de>
Signed-off-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
parent 0abbe448
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ enum interruption_class {
	IOINT_CSC,
	IOINT_PCI,
	IOINT_MSI,
	IOINT_VIR,
	NMI_NMI,
	NR_IRQS,
};
+1 −0
Original line number Diff line number Diff line
@@ -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"},
};

+1 −1
Original line number Diff line number Diff line
@@ -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
+853 −0

File added.

Preview size limit exceeded, changes collapsed.