Received: from eggs.gnu.org ([2001:4830:134:3::10]:37387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjPfx-0000TD-UI for qemu-devel@nongnu.org; Tue, 06 Oct 2015 06:40:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjPfs-0005Wb-VW for qemu-devel@nongnu.org; Tue, 06 Oct 2015 06:40:53 -0400 Received: from e06smtp09.uk.ibm.com ([195.75.94.105]:35611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjPfs-0005VV-Nc for qemu-devel@nongnu.org; Tue, 06 Oct 2015 06:40:48 -0400 Received: from /spool/local by e06smtp09.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 6 Oct 2015 11:40:46 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 344C217D8056 for ; Tue, 6 Oct 2015 11:40:45 +0100 (BST) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t96AehVK17105074 for ; Tue, 6 Oct 2015 10:40:43 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t96Aeg1v007269 for ; Tue, 6 Oct 2015 04:40:43 -0600 From: Christian Borntraeger Date: Tue, 6 Oct 2015 12:41:05 +0200 Message-Id: <1444128065-87628-6-git-send-email-borntraeger@de.ibm.com> In-Reply-To: <1444128065-87628-1-git-send-email-borntraeger@de.ibm.com> References: <1444128065-87628-1-git-send-email-borntraeger@de.ibm.com> Subject: [Qemu-devel] [PULL 5/5] s390x: rename io_subsystem_reset -> subsystem_reset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: David Hildenbrand , qemu-devel , Alexander Graf , Christian Borntraeger , Jens Freimann , Cornelia Huck From: David Hildenbrand According to the Pop: "Subsystem reset operates only on those elements in the configuration which are not CPUs". As this is what we actually do, let's simply rename the function. Acked-by: Cornelia Huck Signed-off-by: David Hildenbrand Signed-off-by: Jens Freimann Message-Id: <1443689387-34473-6-git-send-email-jfrei@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger --- hw/s390x/s390-virtio-ccw.c | 2 +- target-s390x/cpu.h | 2 +- target-s390x/misc_helper.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c index c53ebc1..6195f13 100644 --- a/hw/s390x/s390-virtio-ccw.c +++ b/hw/s390x/s390-virtio-ccw.c @@ -35,7 +35,7 @@ typedef struct S390CcwMachineState { bool dea_key_wrap; } S390CcwMachineState; -void io_subsystem_reset(void) +void subsystem_reset(void) { DeviceState *css, *sclp, *flic, *diag288; diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h index 5acd54c..843904b 100644 --- a/target-s390x/cpu.h +++ b/target-s390x/cpu.h @@ -568,7 +568,7 @@ void cpu_unlock(void); typedef struct SubchDev SubchDev; #ifndef CONFIG_USER_ONLY -extern void io_subsystem_reset(void); +extern void subsystem_reset(void); SubchDev *css_find_subch(uint8_t m, uint8_t cssid, uint8_t ssid, uint16_t schid); bool css_subch_visible(SubchDev *sch); diff --git a/target-s390x/misc_helper.c b/target-s390x/misc_helper.c index 8eac0e1..3a19e32 100644 --- a/target-s390x/misc_helper.c +++ b/target-s390x/misc_helper.c @@ -128,7 +128,7 @@ static int modified_clear_reset(S390CPU *cpu) run_on_cpu(t, s390_do_cpu_full_reset, t); } cmma_reset(cpu); - io_subsystem_reset(); + subsystem_reset(); scc->load_normal(CPU(cpu)); cpu_synchronize_all_post_reset(); resume_all_vcpus(); @@ -146,7 +146,7 @@ static int load_normal_reset(S390CPU *cpu) run_on_cpu(t, s390_do_cpu_reset, t); } cmma_reset(cpu); - io_subsystem_reset(); + subsystem_reset(); scc->initial_cpu_reset(CPU(cpu)); scc->load_normal(CPU(cpu)); cpu_synchronize_all_post_reset(); -- 2.4.3