diff options
author | Janosch Frank | 2020-05-05 14:41:59 +0200 |
---|---|---|
committer | Cornelia Huck | 2020-06-05 17:13:11 +0200 |
commit | 9a4325976264e2fac9a77cfabd774bd725c07027 (patch) | |
tree | 5def3a1890e6d548dcd86df312c340629e134ddf /hw | |
parent | s390x/kvm: help valgrind in several places (diff) | |
download | qemu-9a4325976264e2fac9a77cfabd774bd725c07027.tar.gz qemu-9a4325976264e2fac9a77cfabd774bd725c07027.tar.xz qemu-9a4325976264e2fac9a77cfabd774bd725c07027.zip |
s390x: pv: Fix KVM_PV_PREP_RESET command wrapper name
s390_pv_perf_clear_reset() is not a very helpful name since that
function needs to be called for a normal and a clear reset via
diag308.
Let's instead name it s390_pv_prep_reset() which reflects the purpose
of the function a bit better.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20200505124159.24099-1-frankja@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/s390x/pv.c | 2 | ||||
-rw-r--r-- | hw/s390x/s390-virtio-ccw.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/s390x/pv.c b/hw/s390x/pv.c index f11868e865..ab3a2482aa 100644 --- a/hw/s390x/pv.c +++ b/hw/s390x/pv.c @@ -88,7 +88,7 @@ int s390_pv_unpack(uint64_t addr, uint64_t size, uint64_t tweak) return s390_pv_cmd(KVM_PV_UNPACK, &args); } -void s390_pv_perf_clear_reset(void) +void s390_pv_prep_reset(void) { s390_pv_cmd_exit(KVM_PV_PREP_RESET, NULL); } diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c index 67ae2e02ff..60b16fef77 100644 --- a/hw/s390x/s390-virtio-ccw.c +++ b/hw/s390x/s390-virtio-ccw.c @@ -401,7 +401,7 @@ static void s390_pv_prepare_reset(S390CcwMachineState *ms) s390_cpu_set_state(S390_CPU_STATE_STOPPED, S390_CPU(cs)); } s390_pv_unshare(); - s390_pv_perf_clear_reset(); + s390_pv_prep_reset(); } static void s390_machine_reset(MachineState *machine) |