]> git.ipfire.org Git - thirdparty/qemu.git/commit
s390x/kvm: rework KVM synchronize to tracing for some ONEREGS
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 3 Apr 2014 13:54:58 +0000 (15:54 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 21 Jul 2014 03:12:20 +0000 (22:12 -0500)
commita14d42919f5108c92fd576ddd7bf2b3759593a98
tree1e36a406479c5fbc268ec7ef77d41ab85130b077
parent2ac95494534aca06ec40f81729783fdd65305042
s390x/kvm: rework KVM synchronize to tracing for some ONEREGS

Some ONE_REGS on s390 are not protected by a capability. Older kernels
might not provide those and return an error. Fortunately these registers
are only critical for the migration path. There is no need to error out
on reset and normal runtime. Furthermore, these kernels don't provide
a proper dirty bitmap anyway, so let's use tracing for those errors.

Also provide generic one reg helper to simplify the code.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
(cherry picked from commit 860643bc5aa902f9b736c57b66e301ef08a2b68e)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target-s390x/kvm.c
trace-events