From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQx3W-0005qf-PL for qemu-devel@nongnu.org; Thu, 26 Feb 2015 06:56:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQx3T-0008R4-Us for qemu-devel@nongnu.org; Thu, 26 Feb 2015 06:56:38 -0500 Received: from mail-qg0-f48.google.com ([209.85.192.48]:63129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQx3T-0008Qy-Qa for qemu-devel@nongnu.org; Thu, 26 Feb 2015 06:56:35 -0500 Received: by mail-qg0-f48.google.com with SMTP id l89so1899913qgf.7 for ; Thu, 26 Feb 2015 03:56:35 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20150226093625.GA24766@redhat.com> References: <47CEA9C0E570484FBF22EF0D7EBCE5B534A4984F@szxema505-mbs.china.huawei.com> <20150226093625.GA24766@redhat.com> From: Nikolay Nikolaev Date: Thu, 26 Feb 2015 13:55:54 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Question] about vhost user Interface List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: "pbonzini@redhat.com" , "Gaohaifeng (A)" , "qemu-devel@nongnu.org" , "Lilijun (Jerry)" On Thu, Feb 26, 2015 at 11:36 AM, Michael S. Tsirkin wrote= : > > On Thu, Feb 26, 2015 at 09:30:40AM +0000, Gaohaifeng (A) wrote: > > Hi > > > > I want to use pxe to install a guest os whose nic type is vhost user.= However > > pxe rom doesn=E2=80=99t support msi-x interrupt, so qemu won=E2=80=99t = start vhost net. > > > > Call relationship: > > > > virtio_net_vhost_status-> vhost_net_query-> vhost_dev_query-> > > virtio_pci_query_guest_notifiers -> msix_enabled > > > > > > > > In my test, I remove the msix check for vhost user interface and succes= sfully > > install the guest os by pxe. > > > > Is it OK to do like this and will it cause other problems? > > > > > > > > Thanks. > > > > Haifeng Gao > > > > I think we should fix it. > As a quick hack, you should be able to just use vhostforce. But isn't that what vhostforce is for, runnign vhost with non MSI-enabled guests? regards, Nikolay Nikolaev > > > -- > MST >