diff options
author | Christoffer Dall <christoffer.dall@linaro.org> | 2016-08-09 19:13:00 +0200 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2016-08-12 12:01:26 +0200 |
commit | 023e9fddc3616b005c3753fc1bb6526388cd7a30 (patch) | |
tree | 443aa4c9d82f97022982ba97f8da12f0cbfcae0a /samples/kprobes | |
parent | Linux 4.8-rc1 (diff) | |
download | linux-023e9fddc3616b005c3753fc1bb6526388cd7a30.tar.xz linux-023e9fddc3616b005c3753fc1bb6526388cd7a30.zip |
KVM: PPC: Move xics_debugfs_init out of create
As we are about to hold the kvm->lock during the create operation on KVM
devices, we should move the call to xics_debugfs_init into its own
function, since holding a mutex over extended amounts of time might not
be a good idea.
Introduce an init operation on the kvm_device_ops struct which cannot
fail and call this, if configured, after the device has been created.
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'samples/kprobes')
0 files changed, 0 insertions, 0 deletions