From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cC3tb-0004fk-1r for qemu-devel@nongnu.org; Wed, 30 Nov 2016 07:21:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cC3tV-00064M-G2 for qemu-devel@nongnu.org; Wed, 30 Nov 2016 07:21:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:17416) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cC3tV-00062F-6K for qemu-devel@nongnu.org; Wed, 30 Nov 2016 07:21:49 -0500 Date: Wed, 30 Nov 2016 20:21:46 +0800 From: Fam Zheng Message-ID: <20161130122127.GC27283@lemon> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Question about open() in qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: morgenlette madeBy Cc: qemu-devel@nongnu.org On Wed, 11/30 19:11, morgenlette madeBy wrote: > Hello > > I am studnet studying QEMU. > > I have a question open in QEMU. > > In function handle_aiocb_rw_linear() in block/raw-posix.c, > > i tried to open my device driver(mydev). > > this driver was confirmed safe operation by test program. > > But in qemu, this driver was not opened returning -1. > > errno is 1. 1 means 'Operation not permitted' > > QEMU is not supporting open()??? Hi! If you are asking a question about your modification to QEMU, could you include the patch and describe the steps in detail? I cannot tell what you are trying to achieve here. Fam