configure: remove useless code to check for Xen PCI passthrough
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 20 Nov 2020 11:14:42 +0000 (12:14 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 2 Jan 2021 20:03:36 +0000 (21:03 +0100)
meson.build is already doing the same check, so remove it from
configure.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure

index 5c8f3e5d81de21f65543a37523a2b6dabdf32036..4345776cfd8aea1300cd9083b04c5816fa1cf67f 100755 (executable)
--- a/configure
+++ b/configure
@@ -2878,18 +2878,6 @@ EOF
   fi
 fi
 
-if test "$xen_pci_passthrough" != "disabled"; then
-  if test "$xen" = "enabled" && test "$linux" = "yes"; then
-    xen_pci_passthrough=enabled
-  else
-    if test "$xen_pci_passthrough" = "enabled"; then
-      error_exit "User requested feature Xen PCI Passthrough" \
-          " but this feature requires /sys from Linux"
-    fi
-    xen_pci_passthrough=disabled
-  fi
-fi
-
 ##########################################
 # X11 probe
 if $pkg_config --exists "x11"; then