diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-03-31 07:53:22 -0400 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-04-07 10:49:00 -0400 |
commit | 3042255899540d4985a616017af9e2b80a84a8cf (patch) | |
tree | be24a6772526ba345f0ac75639c868b1a0084f82 /arch/mips/kvm | |
parent | a5f46457047bceaaf32ed7c1d47e3e15bd197e27 (diff) |
kvm: make KVM_CAP_COALESCED_MMIO architecture agnostic
Remove code from architecture files that can be moved to virt/kvm, since there
is already common code for coalesced MMIO.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
[Removed a pointless 'break' after 'return'.]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/mips/kvm')
-rw-r--r-- | arch/mips/kvm/mips.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/kvm/mips.c b/arch/mips/kvm/mips.c index 1fc6fef463db..d4b2ad18eef2 100644 --- a/arch/mips/kvm/mips.c +++ b/arch/mips/kvm/mips.c | |||
@@ -1070,9 +1070,6 @@ int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext) | |||
1070 | case KVM_CAP_IMMEDIATE_EXIT: | 1070 | case KVM_CAP_IMMEDIATE_EXIT: |
1071 | r = 1; | 1071 | r = 1; |
1072 | break; | 1072 | break; |
1073 | case KVM_CAP_COALESCED_MMIO: | ||
1074 | r = KVM_COALESCED_MMIO_PAGE_OFFSET; | ||
1075 | break; | ||
1076 | case KVM_CAP_NR_VCPUS: | 1073 | case KVM_CAP_NR_VCPUS: |
1077 | r = num_online_cpus(); | 1074 | r = num_online_cpus(); |
1078 | break; | 1075 | break; |