Received: from eggs.gnu.org ([2001:4830:134:3::10]:45143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yixuz-0005UW-7P for qemu-devel@nongnu.org; Fri, 17 Apr 2015 00:30:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yixuv-0002Xp-Vr for qemu-devel@nongnu.org; Fri, 17 Apr 2015 00:30:17 -0400 Received: from mailpro.odiso.net ([89.248.209.98]:46301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yixuv-0002Wb-Pu for qemu-devel@nongnu.org; Fri, 17 Apr 2015 00:30:13 -0400 Date: Fri, 17 Apr 2015 06:30:10 +0200 (CEST) From: Alexandre DERUMIER Message-ID: <1679484709.357603914.1429245010449.JavaMail.zimbra@oxygem.tv> In-Reply-To: <55306E81.9000604@linux.vnet.ibm.com> References: <55306E81.9000604@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] qcow2 problem: while a qcow2 image run out of disk space the guest paused. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: chenxg Cc: Kevin Wolf , mimu@linux.vnet.ibm.com, qemu-devel , borntraeger@de.ibm.com, stefanha , Holger Wolf , tubo@cn.ibm.com Hi, Isn't it related to drive options ? " werror=3Daction,rerror=3Daction Specify which action to take on write and read errors. Valid actions are: = =E2=80=9Cignore=E2=80=9D (ignore the error and try to continue), =E2=80=9Cs= top=E2=80=9D (pause QEMU), =E2=80=9Creport=E2=80=9D (report the error to th= e guest), =E2=80=9Cenospc=E2=80=9D (pause QEMU only if the host disk is ful= l; report the error to the guest otherwise). The default setting is werror= =3Denospc and rerror=3Dreport. " ----- Mail original ----- De: "chenxg" =C3=80: "Kevin Wolf" , "stefanha" , = mimu@linux.vnet.ibm.com, tubo@cn.ibm.com, borntraeger@de.ibm.com, "Holger W= olf" , "qemu-devel" Envoy=C3=A9: Vendredi 17 Avril 2015 04:22:57 Objet: [Qemu-devel] qcow2 problem: while a qcow2 image run out of disk spac= e the guest paused. Hi Kevin,=20 While installing a guest into a qcow2 image if the qcow2 image run out=20 of disk space, the guest will stop work and change state to paused=20 without messages.=20 When we tried to free up disk space in the host and the virsh resume to=20 work. The guest then got I/O errors but later on QEMU also crashed.=20 A guest in paused state is certainly not the best result.=20 Probably good way to react are:=20 - return I/O errors to the guest and the let the guest handle those=20 (Linux file system code might just crash)=20 - allow resume only when disk is free again.=20 What's your opinion?=20