From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMwJV-0004oI-WB for qemu-devel@nongnu.org; Thu, 07 Dec 2017 08:34:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMwJR-0005v4-9S for qemu-devel@nongnu.org; Thu, 07 Dec 2017 08:34:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51945) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eMwJR-0005uD-2n for qemu-devel@nongnu.org; Thu, 07 Dec 2017 08:34:05 -0500 Date: Thu, 7 Dec 2017 15:33:54 +0200 From: "Michael S. Tsirkin" Message-ID: <20171207152806-mutt-send-email-mst@kernel.org> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [virtio-dev] [PATCH v3 0/7] Vhost-pci for inter-VM communication List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Avi Cohen (A)" Cc: Stefan Hajnoczi , Wei Wang , Stefan Hajnoczi , "virtio-dev@lists.oasis-open.org" , "Yang, Zhiyong" , "jan.kiszka@siemens.com" , "jasowang@redhat.com" , "qemu-devel@nongnu.org" , "marcandre.lureau@redhat.com" , "pbonzini@redhat.com" On Thu, Dec 07, 2017 at 07:54:48AM +0000, 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) What exactly do you refer to? > **Question**: What is the advantage of vhost-pci compared to this ? > Best Regards > Avi I suspect what's missing in this thread is the original motivation rfc: http://virtualization.linux-foundation.narkive.com/A7FkzAgp/rfc-vhost-user-enhancements-for-vm2vm-communication