[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/5] xen: drop support for Xen 4.1 and older.
On Wed, 10 Feb 2016, Ian Campbell wrote: > On Tue, 2016-02-09 at 16:50 +0000, Stefano Stabellini wrote: > > > @@ -2218,15 +2127,10 @@ EOF > > > fi > > > > > > if test "$xen_pci_passthrough" != "no"; then > > > - if test "$xen" = "yes" && test "$linux" = "yes" && > > > - test "$xen_ctrl_version" -ge 340; then > > > + if test "$xen" = "yes" && test "$linux" = "yes"; then > > > xen_pci_passthrough=yes > > > else > > > if test "$xen_pci_passthrough" = "yes"; then > > > > Given that the code has been greatly simplified, I think that we can get > > rid of the test above. > > Which one? I think we still need to check for both Linux and Xen being > present and handle users passing --enable-xen-pci-passthrough when those > conditions don't hold. > > It might be possible to fold the else if, i.e. > > if test "$xen_pci_passthrough" != "no"; then >  if test "$xen" = "yes" && test "$linux" = "yes"; then > ÂÂÂÂxen_pci_passthrough=yes >  elif test "$xen_pci_passthrough" = "yes"; then >   error_exit "User requested feature Xen PCI Passthrough" \ >     " but this feature requires /sys from Linux" >  else > ÂÂÂÂxen_pci_passthrough=no >  fi > fi > > ? Yeah.. not much of an improvement, sorry, leave it as is. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |