blob: 2c27d5d0c367c5873902c512604e1ce418f6a11f [file] [log] [blame]
David Woodhouse6f2cdbd2021-11-21 12:54:41 +00001# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Kernel-based Virtual Machine module
4#
5
6KVM ?= ../../../virt/kvm
7
8kvm-y := $(KVM)/kvm_main.o $(KVM)/eventfd.o $(KVM)/binary_stats.o
9kvm-$(CONFIG_KVM_VFIO) += $(KVM)/vfio.o
10kvm-$(CONFIG_KVM_MMIO) += $(KVM)/coalesced_mmio.o
11kvm-$(CONFIG_KVM_ASYNC_PF) += $(KVM)/async_pf.o
12kvm-$(CONFIG_HAVE_KVM_IRQ_ROUTING) += $(KVM)/irqchip.o
13kvm-$(CONFIG_HAVE_KVM_DIRTY_RING) += $(KVM)/dirty_ring.o
David Woodhouse982ed0d2021-12-10 16:36:21 +000014kvm-$(CONFIG_HAVE_KVM_PFNCACHE) += $(KVM)/pfncache.o