diff options
author | Alexander Graf <agraf@suse.de> | 2009-10-30 01:47:01 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-11-05 00:49:51 -0500 |
commit | 4e755758cbbeb0afe44556c1ce52ea6f590ed5bf (patch) | |
tree | 25cddb4cf7ea84e5c53b4b6c6b8a8968514d4b9e /arch/powerpc/kvm/booke.c | |
parent | 588e050887c5f00a39b056848ea58c8b496beab0 (diff) |
Move dirty logging code to sub-arch
PowerPC code handles dirty logging in the generic parts atm. While this
is great for "return -ENOTSUPP", we need to be rather target specific
when actually implementing it.
So let's split it to implementation specific code, so we can implement
it for book3s.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kvm/booke.c')
-rw-r--r-- | arch/powerpc/kvm/booke.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index e7bf4d029484..06f5a9ecc42c 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c | |||
@@ -520,6 +520,11 @@ int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu, | |||
520 | return kvmppc_core_vcpu_translate(vcpu, tr); | 520 | return kvmppc_core_vcpu_translate(vcpu, tr); |
521 | } | 521 | } |
522 | 522 | ||
523 | int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm, struct kvm_dirty_log *log) | ||
524 | { | ||
525 | return -ENOTSUPP; | ||
526 | } | ||
527 | |||
523 | int __init kvmppc_booke_init(void) | 528 | int __init kvmppc_booke_init(void) |
524 | { | 529 | { |
525 | unsigned long ivor[16]; | 530 | unsigned long ivor[16]; |