[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 04/19] s390x: rename s390-virtio.h to s390-vi
From: |
Christian Borntraeger |
Subject: |
Re: [Qemu-devel] [PATCH v2 04/19] s390x: rename s390-virtio.h to s390-virtio-hcall.h |
Date: |
Tue, 5 Sep 2017 10:54:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 |
On 09/04/2017 05:43 PM, David Hildenbrand wrote:
> The only interface left, so let's properly rename it.
>
> Reviewed-by: Thomas Huth <address@hidden>
> Signed-off-by: David Hildenbrand <address@hidden>
Acked-by: Christian Borntraeger <address@hidden>
> ---
> hw/s390x/s390-virtio-ccw.c | 2 +-
> hw/s390x/s390-virtio-hcall.c | 2 +-
> hw/s390x/{s390-virtio.h => s390-virtio-hcall.h} | 8 ++++----
> 3 files changed, 6 insertions(+), 6 deletions(-)
> rename hw/s390x/{s390-virtio.h => s390-virtio-hcall.h} (77%)
>
> diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c
> index 4c3a3e177b..f67b4b5d58 100644
> --- a/hw/s390x/s390-virtio-ccw.c
> +++ b/hw/s390x/s390-virtio-ccw.c
> @@ -16,7 +16,7 @@
> #include "cpu.h"
> #include "hw/boards.h"
> #include "exec/address-spaces.h"
> -#include "s390-virtio.h"
> +#include "hw/s390x/s390-virtio-hcall.h"
> #include "hw/s390x/sclp.h"
> #include "hw/s390x/s390_flic.h"
> #include "hw/s390x/ioinst.h"
> diff --git a/hw/s390x/s390-virtio-hcall.c b/hw/s390x/s390-virtio-hcall.c
> index 23d67d6170..ec7cf8beb3 100644
> --- a/hw/s390x/s390-virtio-hcall.c
> +++ b/hw/s390x/s390-virtio-hcall.c
> @@ -11,7 +11,7 @@
>
> #include "qemu/osdep.h"
> #include "cpu.h"
> -#include "hw/s390x/s390-virtio.h"
> +#include "hw/s390x/s390-virtio-hcall.h"
>
> #define MAX_DIAG_SUBCODES 255
>
> diff --git a/hw/s390x/s390-virtio.h b/hw/s390x/s390-virtio-hcall.h
> similarity index 77%
> rename from hw/s390x/s390-virtio.h
> rename to hw/s390x/s390-virtio-hcall.h
> index d984cd4115..59fcba3a06 100644
> --- a/hw/s390x/s390-virtio.h
> +++ b/hw/s390x/s390-virtio-hcall.h
> @@ -1,5 +1,5 @@
> /*
> - * Virtio interfaces for s390
> + * Support for virtio hypercalls on s390x
> *
> * Copyright 2012 IBM Corp.
> * Author(s): Cornelia Huck <address@hidden>
> @@ -9,12 +9,12 @@
> * directory.
> */
>
> -#ifndef HW_S390_VIRTIO_H
> -#define HW_S390_VIRTIO_H
> +#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"
>
> typedef int (*s390_virtio_fn)(const uint64_t *args);
> void s390_register_virtio_hypercall(uint64_t code, s390_virtio_fn fn);
> -#endif
> +#endif /* HW_S390_VIRTIO_HCALL_H */
>
- [Qemu-devel] [PATCH v2 00/19] s390x cleanups and CPU hotplug via device_add, David Hildenbrand, 2017/09/04
- [Qemu-devel] [PATCH v2 01/19] exec, dump, i386, ppc, s390x: don't include exec/cpu-all.h explicitly, David Hildenbrand, 2017/09/04
- Re: [Qemu-devel] [PATCH v2 01/19] exec, dump, i386, ppc, s390x: don't include exec/cpu-all.h explicitly, Cornelia Huck, 2017/09/05
- Re: [Qemu-devel] [PATCH v2 01/19] exec, dump, i386, ppc, s390x: don't include exec/cpu-all.h explicitly, Thomas Huth, 2017/09/07
- Re: [Qemu-devel] [PATCH v2 01/19] exec, dump, i386, ppc, s390x: don't include exec/cpu-all.h explicitly, David Hildenbrand, 2017/09/07
- Re: [Qemu-devel] [PATCH v2 01/19] exec, dump, i386, ppc, s390x: don't include exec/cpu-all.h explicitly, Cornelia Huck, 2017/09/07
- [Qemu-devel] [PATCH v2 02/19] cpu: drop old comments describing members, David Hildenbrand, 2017/09/04
- [Qemu-devel] [PATCH v2 04/19] s390x: rename s390-virtio.h to s390-virtio-hcall.h, David Hildenbrand, 2017/09/04
- Re: [Qemu-devel] [PATCH v2 04/19] s390x: rename s390-virtio.h to s390-virtio-hcall.h,
Christian Borntraeger <=
- [Qemu-devel] [PATCH v2 03/19] s390x: get rid of s390-virtio.c, David Hildenbrand, 2017/09/04
- [Qemu-devel] [PATCH v2 05/19] target/s390x: move typedef of S390CPU to its definition, David Hildenbrand, 2017/09/04
- [Qemu-devel] [PATCH v2 06/19] s390x: move s390_virtio_hypercall() to s390-virtio-hcall.h, David Hildenbrand, 2017/09/04
- [Qemu-devel] [PATCH v2 07/19] s390x: move two function declarations to s390-virtio-ccw.h, David Hildenbrand, 2017/09/04