Return-Path: virtio-dev-return-2779-cohuck=redhat.com@lists.oasis-open.org Sender: List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [66.179.20.138]) by lists.oasis-open.org (Postfix) with ESMTP id 3DC7F1CB807D for ; Thu, 7 Dec 2017 00:31:42 -0800 (PST) References: <1512444796-30615-1-git-send-email-wei.w.wang@intel.com> <20171206134957.GD12584@stefanha-x1.localdomain> <286AC319A985734F985F78AFA26841F73937B57F@shsmsx102.ccr.corp.intel.com> <5A28BC2D.6000308@intel.com> From: Jason Wang Message-ID: Date: Thu, 7 Dec 2017 16:31:27 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit Content-Language: en-US Subject: [virtio-dev] Re: [Qemu-devel] [virtio-dev] [PATCH v3 0/7] Vhost-pci for inter-VM communication To: Stefan Hajnoczi , "Avi Cohen (A)" Cc: Wei Wang , Stefan Hajnoczi , "virtio-dev@lists.oasis-open.org" , "mst@redhat.com" , "Yang, Zhiyong" , "jan.kiszka@siemens.com" , "qemu-devel@nongnu.org" , "marcandre.lureau@redhat.com" , "pbonzini@redhat.com" List-ID: On 2017年12月07日 16:04, Stefan Hajnoczi wrote: > On Thu, Dec 7, 2017 at 7:54 AM, Avi Cohen (A) wrote: >> There is already a virtio mechanism in which 2 VMs assigned a virtio device , are communicating via a veth pair in the host . >> KVM just passes a pointer of the page of the writer VM to the reader VM - resulting in excellent performance (no vSwitch in the middle) >> **Question**: What is the advantage of vhost-pci compared to this ? > Which mechanism do you mean? > > vhost-pci will allow VM-to-VM communication without vmexits when > polling mode is used. Does the mechanism you are thinking about > require vmexits? > > Stefan I guess what Avi means is probably veth tap support (RFC) here: https://www.spinics.net/lists/netdev/msg454040.html But in fact, we don't need veth at all, by using rx handler trick, we can easily implement pair mode on TUN/TAP. Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org