mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
542472b53e
This patch enables coalesced MMIO for x86 architecture. It defines KVM_MMIO_PAGE_OFFSET and KVM_CAP_COALESCED_MMIO. It enables the compilation of coalesced_mmio.c. Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net> Signed-off-by: Avi Kivity <avi@qumranet.com>
20 lines
528 B
Makefile
20 lines
528 B
Makefile
#
|
|
# Makefile for Kernel-based Virtual Machine module
|
|
#
|
|
|
|
common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
|
|
coalesced_mmio.o)
|
|
ifeq ($(CONFIG_KVM_TRACE),y)
|
|
common-objs += $(addprefix ../../../virt/kvm/, kvm_trace.o)
|
|
endif
|
|
|
|
EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm
|
|
|
|
kvm-objs := $(common-objs) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \
|
|
i8254.o
|
|
obj-$(CONFIG_KVM) += kvm.o
|
|
kvm-intel-objs = vmx.o
|
|
obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
|
|
kvm-amd-objs = svm.o
|
|
obj-$(CONFIG_KVM_AMD) += kvm-amd.o
|