From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLAJi-0006vS-ML for qemu-devel@nongnu.org; Mon, 18 Jan 2016 08:57:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLAJe-0007LO-Mc for qemu-devel@nongnu.org; Mon, 18 Jan 2016 08:57:58 -0500 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:36893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLAJe-0007LJ-Cr for qemu-devel@nongnu.org; Mon, 18 Jan 2016 08:57:54 -0500 Received: by mail-wm0-x233.google.com with SMTP id n5so65280666wmn.0 for ; Mon, 18 Jan 2016 05:57:54 -0800 (PST) References: <1452522868-25550-1-git-send-email-peter.maydell@linaro.org> <1452522868-25550-5-git-send-email-peter.maydell@linaro.org> <569CE8AC.8010105@linaro.org> From: Eric Auger Message-ID: <569CEF51.3070203@linaro.org> Date: Mon, 18 Jan 2016 14:57:37 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 5/5] hw/arm/virt: Support legacy -nic command line syntax List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Christoffer Dall , Alex Williamson , "eric.auger@st.com" , QEMU Developers , Ashok Kumar Hi Peter, On 01/18/2016 02:34 PM, Peter Maydell wrote: > On 18 January 2016 at 13:29, Eric Auger wrote: >> How is it supposed to live with Passthrough'ed NIC? Current way to >> instantiate a VFIO platform NIC looks like: >> >> -device vfio-amd-xgbe,host=e0900000.xgmac >> where vfio-amd-xgbe is the name of the VFIO AMD XGBE platform QEMU >> device and e0900000.xgmac is the name of the device in >> /sys/bus/platform/devices. > >> Before that commit I was able to instantiate this VFIO device and got >> networking working, testing it with ping. Now ping don't work anymore. I >> Guess I now use this other default NIC? >> >> Curiously it does not seem to prevent networking with upstreamed Calxeda >> Midway device and I did not figure why yet? > > Hmm, I guess this is changing things in that we now will have a > virtio PCI device appearing if you use the default (-net nic -net user) > settings. But I don't see why that would particularly interfere > with VFIO passthrough, except in as much as the guest now has > two network cards in it and might be preferring one as eth0 > rather than the other... Yes that's what currently happens I think. I get the slirp thing on eth0 and my passthrough'ed device on eth1. That's not very straightforward for the end-user to get those 2 NIC's now. In case I passthrough some NIC's I would have expected this default NIC not be instantiated? Alex, how do you manage on x86 platforms with VFIO-PCI NIC? Thanks Eric > > thanks > -- PMM >