s390x: headers deletion fallout
The following changes since commit c65d5e4e1d6841524c49a07bcdd56094f49982a4:
configure: Deal with OpenBSD/i386 emulation linker (2017-11-23 16:52:24 +0000)
are available in the git repository at:
git://github.com/cohuck/qemu tags/s390x-20171124
for you to fetch changes up to c1c4c2192c1c063a6c53c600bb97f20555b2a528:
s390/kvm_virtio/linux-headers: remove traces of old virtio transport (2017-11-24 10:52:05 +0100)
----------------------------------------------------------------
Deal with the fallout from the deletion of the old s390 virtio header in Linux master.
----------------------------------------------------------------
Christian Borntraeger (1):
s390/kvm_virtio/linux-headers: remove traces of old virtio transport
hw/s390x/s390-virtio-hcall.h | 6 ++- include/standard-headers/asm-s390/kvm_virtio.h | 64 -------------------------- scripts/update-linux-headers.sh | 1 - 3 files changed, 4 insertions(+), 67 deletions(-) delete mode 100644 include/standard-headers/asm-s390/kvm_virtio.h
Signature · 1 line
2.13.6
[Qemu-devel] [PULL for-2.11 1/1] s390/kvm_virtio/linux-headers: remove traces of old virtio transport
From: Christian Borntraeger <[email protected]>
We no longer support the old s390 transport, neither does the newest Linux kernel. Remove it from the linux header script as well as the s390x virtio code. We still should handle the VIRTIO_NOTIFY hypercall, to tolerate early printk on older guest kernels without an sclp console. We continue to ignore these events.
Message-Id: <[email protected]>
--- hw/s390x/s390-virtio-hcall.h | 6 ++- include/standard-headers/asm-s390/kvm_virtio.h | 64 -------------------------- scripts/update-linux-headers.sh | 1 - 3 files changed, 4 insertions(+), 67 deletions(-) delete mode 100644 include/standard-headers/asm-s390/kvm_virtio.h
hw/s390x/s390-virtio-hcall.h +4 -2
@@ -1,7 +1,7 @@/* * Support for virtio hypercalls on s390x * -* Copyright 2012 IBM Corp. +* Copyright IBM Corp. 2012, 2017 * Author(s): Cornelia Huck <[email protected]> * * This work is licensed under the terms of the GNU GPL, version 2 or (at
@@ -12,9 +12,11 @@#ifndef HW_S390_VIRTIO_HCALL_H #define HW_S390_VIRTIO_HCALL_H -#include "standard-headers/asm-s390/kvm_virtio.h" #include "standard-headers/asm-s390/virtio-ccw.h" +/* The only thing that we need from the old kvm_virtio.h file */ +#define KVM_S390_VIRTIO_NOTIFY 0 +typedef int (*s390_virtio_fn )(const uint64_t *args);void s390_register_virtio_hypercall (uint64_t code,s390_virtio_fn fn);int s390_virtio_hypercall (CPUS390XState *env);
include/standard-headers/asm-s390/kvm_virtio.h deleted +0 -64
64 lines not on this page · raw message
scripts/update-linux-headers.sh +0 -1
@@ -95,7 +95,6 @@ for arch in $ARCHLIST; do rm -rf "$output/include/standard-headers/asm-$arch" mkdir -p "$output/include/standard-headers/asm-$arch" if [ $arch = s390 ]; then - cp_portable "$tmpdir/include/asm/kvm_virtio.h" "$output/include/standard-headers/asm-s390/" cp_portable "$tmpdir/include/asm/virtio-ccw.h" "$output/include/standard-headers/asm-s390/" fi if [ $arch = arm ]; then
Signature · 1 line
2.13.6
Peter Maydell
AppliedQuoted 18 lines · Cornelia Huck
The following changes since commit
c65d5e4e1d6841524c49a07bcdd56094f49982a4:configure: Deal with OpenBSD/i386 emulation linker (2017-11-23 16:52:24 +0000)
are available in the git repository at:
git://github.com/cohuck/qemutags/s390x-20171124for you to fetch changes up to
c1c4c2192c1c063a6c53c600bb97f20555b2a528:s390/kvm_virtio/linux-headers: remove traces of old virtio transport (2017-11-24 10:52:05 +0100)
----------------------------------------------------------------
Deal with the fallout from the deletion of the old s390 virtio header in Linux master.----------------------------------------------------------------
Quoted 8 lines
Christian Borntraeger (1):
s390/kvm_virtio/linux-headers: remove traces of old virtio transporthw/s390x/s390-virtio-hcall.h | 6 ++- include/standard-headers/asm-s390/kvm_virtio.h | 64 -------------------------- scripts/update-linux-headers.sh | 1 - 3 files changed, 4 insertions(+), 67 deletions(-) delete mode 100644 include/standard-headers/asm-s390/kvm_virtio.h
Applied, thanks.
-- PMM