diff options
author | Simon Guo <wei.guo.simon@gmail.com> | 2018-05-23 15:02:09 +0800 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2018-06-01 10:30:53 +1000 |
commit | b3cebfe8c1cadf1817939dcc3688a2504a69c662 (patch) | |
tree | bfba142405d95d36da14b680c0705e9697ba4dbd /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | d234d68eb7464c9ebd11e870404e83d3e9348406 (diff) |
KVM: PPC: Move vcpu_load/vcpu_put down to each ioctl case in kvm_arch_vcpu_ioctl
Although we already have kvm_arch_vcpu_async_ioctl() which doesn't require
ioctl to load vcpu, the sync ioctl code need to be cleaned up when
CONFIG_HAVE_KVM_VCPU_ASYNC_IOCTL is not configured.
This patch moves vcpu_load/vcpu_put down to each ioctl switch case so that
each ioctl can decide to do vcpu_load/vcpu_put or not independently.
Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions