From: Paolo Bonzini Date: Fri, 20 Nov 2020 11:14:42 +0000 (+0100) Subject: configure: remove useless code to check for Xen PCI passthrough X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=21c7843d82c82c1d6e06c2d005764ac4951f8f77;p=qemu.git configure: remove useless code to check for Xen PCI passthrough meson.build is already doing the same check, so remove it from configure. Reviewed-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- diff --git a/configure b/configure index 5c8f3e5d81..4345776cfd 100755 --- 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