diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2016-07-07 15:07:57 (GMT) |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-08-09 10:42:41 (GMT) |
commit | 3b2fbb3f06efe5bd2dfdce2a1db703e23c1a78af (patch) | |
tree | 5579f52e1c414bc6c2875126e46144399e06a1e0 /drivers/s390/virtio/kvm_virtio.c | |
parent | 2ab0d56aadbcd120b8fa524b4a1142e8b06e13c8 (diff) | |
download | linux-3b2fbb3f06efe5bd2dfdce2a1db703e23c1a78af.tar.xz |
virtio/s390: deprecate old transport
There only ever have been two host implementations of the old
s390-virtio (pre-ccw) transport: the experimental kuli userspace,
and qemu. As qemu switched its default to ccw with 2.4 (with most
users having used ccw well before that) and removed the old transport
entirely in 2.6, s390-virtio probably hasn't been in active use for
quite some time and is therefore likely to bitrot.
Let's start the slow march towards removing the code by deprecating
it.
Note that this also deprecates the early virtio console code, which
has been causing trouble in the guest without being wired up in any
relevant hypervisor code.
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Reviewed-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/s390/virtio/kvm_virtio.c')
-rw-r--r-- | drivers/s390/virtio/kvm_virtio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/virtio/kvm_virtio.c b/drivers/s390/virtio/kvm_virtio.c index b0a849f..5e5c11f 100644 --- a/drivers/s390/virtio/kvm_virtio.c +++ b/drivers/s390/virtio/kvm_virtio.c @@ -458,6 +458,8 @@ static int __init kvm_devices_init(void) if (test_devices_support(total_memory_size) < 0) return -ENODEV; + pr_warn("The s390-virtio transport is deprecated. Please switch to a modern host providing virtio-ccw.\n"); + rc = vmem_add_mapping(total_memory_size, PAGE_SIZE); if (rc) return rc; |