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 <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2020-11-20 12:14:42 +01:00
parent 0a18911074
commit 21c7843d82

12
configure vendored
View File

@ -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