summaryrefslogtreecommitdiffstats
path: root/hw/s390x/tod-qemu.c
diff options
context:
space:
mode:
authorDavid Hildenbrand2018-06-27 15:44:03 +0200
committerCornelia Huck2018-07-02 10:37:38 +0200
commit4ab6a1feac0a142045d3b7bdbb8182a99c0b8980 (patch)
treef11c55aa2d26a0f092fba9ff3cb25e78f977abae /hw/s390x/tod-qemu.c
parents390x/tcg: avoid overflows in time2tod/tod2time (diff)
downloadqemu-4ab6a1feac0a142045d3b7bdbb8182a99c0b8980.tar.gz
qemu-4ab6a1feac0a142045d3b7bdbb8182a99c0b8980.tar.xz
qemu-4ab6a1feac0a142045d3b7bdbb8182a99c0b8980.zip
s390x/kvm: pass values instead of pointers to kvm_s390_set_clock_*()
We are going to factor out the TOD into a separate device and use const pointers for device class functions where possible. We are passing right now ordinary pointers that should never be touched when setting the TOD. Let's just pass the values directly. Note that s390_set_clock() will be removed in a follow-on patch and therefore its calling convention is not changed. Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20180627134410.4901-3-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/s390x/tod-qemu.c')
0 files changed, 0 insertions, 0 deletions