aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-08-17 08:59:03 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2012-08-23 17:02:35 -0300
commita710308c01fe5116120c0a7972a8c7bb9d915810 (patch)
tree9d0e99cebde419fe7fc7e9bf677f4c534796ff9b
parentea709154e3a0e8c9be8ffbc8be294ea956352685 (diff)
pci-assign: Drop configure switches
There are no other dependencies of device assignment except for CONFIG_KVM and an x86 target. So there is also no point in controlling this feature via configure. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
-rwxr-xr-xconfigure11
-rw-r--r--hw/i386/Makefile.objs2
2 files changed, 1 insertions, 12 deletions
diff --git a/configure b/configure
index c9c764c90..bf3acc8d0 100755
--- a/configure
+++ b/configure
@@ -211,7 +211,6 @@ bsd_user="no"
guest_base=""
uname_release=""
mixemu="no"
-kvm_cap_device_assignment="yes"
aix="no"
blobs="yes"
pkgversion=" ($(kvm_version))"
@@ -752,10 +751,6 @@ for opt do
;;
--enable-tcg-interpreter) tcg_interpreter="yes"
;;
- --disable-kvm-device-assignment) kvm_cap_device_assignment="no"
- ;;
- --enable-kvm-device-assignment) kvm_cap_device_assignment="yes"
- ;;
--disable-cap-ng) cap_ng="no"
;;
--enable-cap-ng) cap_ng="yes"
@@ -1119,8 +1114,6 @@ echo " --disable-slirp disable SLIRP userspace network connectivity"
echo " --disable-kvm disable KVM acceleration support"
echo " --enable-kvm enable KVM acceleration support"
echo " --enable-tcg-interpreter enable TCG with bytecode interpreter (TCI)"
-echo " --disable-kvm-device-assignment disable KVM device assignment support"
-echo " --enable-kvm-device-assignment enable KVM device assignment support"
echo " --disable-nptl disable usermode NPTL support"
echo " --enable-nptl enable usermode NPTL support"
echo " --enable-system enable all system emulation targets"
@@ -3163,7 +3156,6 @@ echo "ATTR/XATTR support $attr"
echo "Install blobs $blobs"
echo "KVM support $kvm"
echo "TCG interpreter $tcg_interpreter"
-echo "KVM device assig. $kvm_cap_device_assignment"
echo "fdt support $fdt"
echo "preadv support $preadv"
echo "fdatasync $fdatasync"
@@ -3901,9 +3893,6 @@ case "$target_arch2" in
if test "$vhost_net" = "yes" ; then
echo "CONFIG_VHOST_NET=y" >> $config_target_mak
fi
- if test $kvm_cap_device_assignment = "yes" ; then
- echo "CONFIG_KVM_DEVICE_ASSIGNMENT=y" >> $config_target_mak
- fi
fi
esac
case "$target_arch2" in
diff --git a/hw/i386/Makefile.objs b/hw/i386/Makefile.objs
index ad5238704..29f3e6f95 100644
--- a/hw/i386/Makefile.objs
+++ b/hw/i386/Makefile.objs
@@ -14,7 +14,7 @@ obj-$(CONFIG_SPICE) += qxl.o qxl-logger.o qxl-render.o
obj-y += testdev.o
obj-y += acpi.o acpi_piix4.o
-obj-$(CONFIG_KVM_DEVICE_ASSIGNMENT) += device-assignment.o
+obj-$(CONFIG_KVM) += device-assignment.o
obj-y := $(addprefix ../,$(obj-y))