From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIdQg-0006fE-5Q for qemu-devel@nongnu.org; Mon, 11 Jan 2016 09:26:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIdQb-0004LU-7u for qemu-devel@nongnu.org; Mon, 11 Jan 2016 09:26:42 -0500 Received: from relay.parallels.com ([195.214.232.42]:60216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIdQb-0004LA-0Z for qemu-devel@nongnu.org; Mon, 11 Jan 2016 09:26:37 -0500 References: <1450767586-28794-1-git-send-email-den@openvz.org> <5693B245.6020006@de.ibm.com> From: "Denis V. Lunev" Message-ID: <5693BB8B.2040909@openvz.org> Date: Mon, 11 Jan 2016 17:26:19 +0300 MIME-Version: 1.0 In-Reply-To: <5693B245.6020006@de.ibm.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/1] block: fix inability to start VM with native AIO List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger Cc: Kevin Wolf , qemu-devel@nongnu.org On 01/11/2016 04:46 PM, Christian Borntraeger wrote: > On 12/22/2015 07:59 AM, Denis V. Lunev wrote: >> error: Failed to start domain rhel7 >> error: internal error: process exited while connecting to monitor: >> 2015-12-22T06:55:18.812637Z qemu-system-x86_64: >> -drive file=/var/lib/libvirt/images/rhel7.qcow2,if=none, >> id=drive-scsi0-0-0-0,format=qcow2,cache=none,aio=native: >> aio=native was specified, but it requires cache.direct=on, >> which was not specified. >> >> cache=none option was specified as seen above while the VM is unable to >> start. The patch properly passed BDRV_O_NOCACHE to underlying layer. >> >> The problem is revealed with >> commit d657c0c289e944fc22289f5c318f48da87d79dcb >> Author: Kevin Wolf >> Date: Tue Dec 15 11:35:36 2015 +0100 >> >> raw-posix: Make aio=native option binding >> >> Signed-off-by: Denis V. Lunev >> CC: Kevin Wolf > Acked-by: Christian Borntraeger > > Without this patch all libvirt xmls with > cache='none' io='native' > are broken. We should apply this patch (or something else) > soon. > exactly!