diff options
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r-- | virt/kvm/kvm_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index db57363cc287..499db0977f3c 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -57,6 +57,7 @@ | |||
57 | 57 | ||
58 | #include "coalesced_mmio.h" | 58 | #include "coalesced_mmio.h" |
59 | #include "async_pf.h" | 59 | #include "async_pf.h" |
60 | #include "vfio.h" | ||
60 | 61 | ||
61 | #define CREATE_TRACE_POINTS | 62 | #define CREATE_TRACE_POINTS |
62 | #include <trace/events/kvm.h> | 63 | #include <trace/events/kvm.h> |
@@ -3226,6 +3227,9 @@ int kvm_init(void *opaque, unsigned vcpu_size, unsigned vcpu_align, | |||
3226 | goto out_undebugfs; | 3227 | goto out_undebugfs; |
3227 | } | 3228 | } |
3228 | 3229 | ||
3230 | r = kvm_vfio_ops_init(); | ||
3231 | WARN_ON(r); | ||
3232 | |||
3229 | return 0; | 3233 | return 0; |
3230 | 3234 | ||
3231 | out_undebugfs: | 3235 | out_undebugfs: |