From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by dpdk.org (Postfix) with ESMTP id AB8356934 for ; Fri, 2 May 2014 00:03:26 +0200 (CEST) Received: by mail-pd0-f171.google.com with SMTP id r10so3724832pdi.16 for ; Thu, 01 May 2014 15:03:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=jmdIEGhaQnmj532mUxBBHfQ+n6Ng2WLwcSZSYoa0NX8=; b=I9iJSzjRtEUmTOW1L5RQHWl8rI2vRwv2dincB1TY54JlfT/FwYWdAJde0pJRn8Y18X oyxed5D+k9v0V4lGSOfX+BfIEKlIwr3dpcnwM2vFEUV+atJ7bcyqIRHzrHmMdoUx1Tuf 7peycHKokG2PmXHvZ8puRK6/F0bsuuM8+BYmSHHlTc/uyBQlk9j/7D5U0jCL/Z76tXPW PLO/W3L3b6RsGN7JV3mCz9b62MzwJyj6nKI9RWf+qf7HCUF9otXlWv6e8Qxl3I/Tm41r i4lOXY6M9BYgDkc/ofYSkdU6L76hNKY/eVkyS+j2O+PQFy6G7Tzf55YOHhQDWWXPv0y4 6A0Q== X-Gm-Message-State: ALoCoQnkutpGm6rxL+DijzWXFf8Uli8UTpdZrHF0mbJ/5PzLGmOT3InwarrecicTGCGtbsVVQIjH X-Received: by 10.66.150.69 with SMTP id ug5mr26272149pab.55.1398981810296; Thu, 01 May 2014 15:03:30 -0700 (PDT) Received: from nehalam.linuxnetplumber.net (static-50-53-83-51.bvtn.or.frontiernet.net. [50.53.83.51]) by mx.google.com with ESMTPSA id f5sm166031232pat.11.2014.05.01.15.03.29 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 01 May 2014 15:03:30 -0700 (PDT) Date: Thu, 1 May 2014 15:03:27 -0700 From: Stephen Hemminger To: "Burakov, Anatoly" Message-ID: <20140501150327.12605d23@nehalam.linuxnetplumber.net> In-Reply-To: References: X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH 16/16] [RFC] [VFIO] Adding support for VFIO to setup.sh X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2014 22:03:27 -0000 On Thu, 1 May 2014 11:06:12 +0000 "Burakov, Anatoly" wrote: > > # > +# Unloads VFIO modules. > +# > +remove_vfio_module() > +{ > + echo "Unloading any existing VFIO module" > + /sbin/lsmod | grep -s vfio > /dev/null > + if [ $? -eq 0 ] ; then > + sudo /sbin/rmmod vfio-pci > + sudo /sbin/rmmod vfio_iommu_type1 > + sudo /sbin/rmmod vfio > + fi > +} > + Won't this break if KVM is using vfio and running DPDK application as well.