Skip to content

Commit

Permalink
Give ivshmem its own config option
Browse files Browse the repository at this point in the history
Currently the ivshmem device is built whenever both PCI and KVM support are
included.  This patch gives it its own config option to allow easier
customization of whether to include it.  It's enabled by default in the
same circumstances as now - when both PCI and KVM are available.

Signed-off-by: David Gibson <[email protected]>
Reviewed-by: Peter Crosthwaite <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
dgibson authored and bonzini committed Feb 27, 2015
1 parent 2296594 commit 8af738b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions default-configs/pci.mak
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ CONFIG_SDHCI=y
CONFIG_EDU=y
CONFIG_VGA=y
CONFIG_VGA_PCI=y
CONFIG_IVSHMEM=$(CONFIG_KVM)
4 changes: 1 addition & 3 deletions hw/misc/Makefile.objs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ common-obj-$(CONFIG_PUV3) += puv3_pm.o

common-obj-$(CONFIG_MACIO) += macio/

ifeq ($(CONFIG_PCI), y)
obj-$(CONFIG_KVM) += ivshmem.o
endif
obj-$(CONFIG_IVSHMEM) += ivshmem.o

obj-$(CONFIG_REALVIEW) += arm_sysctl.o
obj-$(CONFIG_NSERIES) += cbus.o
Expand Down

0 comments on commit 8af738b

Please sign in to comment.