From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vasile Catalin-B50542 Subject: [vhost] vhost_get_vq_desc, vq->iov mapping Date: Wed, 6 May 2015 13:01:51 +0300 Message-ID: <5549E68F.7030206@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: virtualization@lists.linux-foundation.org, qemu-devel@nongnu.org List-Id: virtualization@lists.linuxfoundation.org From what I know, qemu and vhost backends use some functions in order to access the memory between the guest and the backend. From what I see, vhost does this with vhost_get_vq_desc(). How much do vq->iov mappings remain valid? Does it get unmapped at some time (you could answer me within vhost-net or vhost-scsi as examples)?