Commit 7df35f549606e8a9004a77ef31dc80dfa893a590
1 parent
e8cde0939d
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
KVM: Move irqfd resample cap handling to generic code
Now that we have most irqfd code completely platform agnostic, let's move irqfd's resample capability return to generic code as well. Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Michael S. Tsirkin <mst@redhat.com>
Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff
arch/x86/kvm/x86.c
virt/kvm/kvm_main.c
... | ... | @@ -2433,6 +2433,9 @@ |
2433 | 2433 | #ifdef CONFIG_HAVE_KVM_MSI |
2434 | 2434 | case KVM_CAP_SIGNAL_MSI: |
2435 | 2435 | #endif |
2436 | +#ifdef CONFIG_HAVE_KVM_IRQ_ROUTING | |
2437 | + case KVM_CAP_IRQFD_RESAMPLE: | |
2438 | +#endif | |
2436 | 2439 | return 1; |
2437 | 2440 | #ifdef CONFIG_HAVE_KVM_IRQ_ROUTING |
2438 | 2441 | case KVM_CAP_IRQ_ROUTING: |