From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6XF-0006Os-9B for qemu-devel@nongnu.org; Thu, 23 Jun 2016 11:27:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG6XD-0007Zv-5o for qemu-devel@nongnu.org; Thu, 23 Jun 2016 11:27:16 -0400 Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]:34084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6XC-0007Zl-WE for qemu-devel@nongnu.org; Thu, 23 Jun 2016 11:27:15 -0400 Received: by mail-oi0-x236.google.com with SMTP id s66so75257444oif.1 for ; Thu, 23 Jun 2016 08:27:14 -0700 (PDT) MIME-Version: 1.0 From: Gaurav Sharma Date: Thu, 23 Jun 2016 20:56:34 +0530 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: [Qemu-devel] Queries on dataplane mechanism List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I am trying to explore how the data plane mechanism works in QEMU. I understand the behavior of QEMU big lock. Can someone clarify the following w.r.t. to data plane : 1. Currently only virtio-blk-pci and virtio-scsi-pci have data plane enabled ? 2. From qemu 2.1.0 data plane is enabled by default. I specify the following options in the command line to enable : -enable-kvm -drive if=none,id=drive1,file=file_name -object iothread,id=iothread2 -device virtio-blk-pci,id=drv0,drive=drive1,iothread=iothread2 Is the above syntax correct ? 3. What is the best possible scenario to test data plane ? Currently, I have a test set up wherein i have two different devices [dev1 and dev2]. If i process a write to dev1 which i made blocking by putting a sleep statement, will i be able to process write on dev2 ? My understanding is that as in case of dataplane we have a different event loop, i should be able to process write on dev2. Is this correct ? I am using qemu 2.2.0 on CentOS 7.1 with kvm version 1.5.3 and using Debian 3.2.8 as guest OS. Regards.