From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yqhd8-0005dM-KC for qemu-devel@nongnu.org; Fri, 08 May 2015 08:43:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yqhd3-00007C-Ig for qemu-devel@nongnu.org; Fri, 08 May 2015 08:43:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yqhd3-00006y-7Q for qemu-devel@nongnu.org; Fri, 08 May 2015 08:43:45 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t48ChiRp013365 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 8 May 2015 08:43:44 -0400 Message-ID: <554CAF7D.3010304@redhat.com> Date: Fri, 08 May 2015 14:43:41 +0200 From: Max Reitz MIME-Version: 1.0 References: <1431012374-14113-1-git-send-email-pbonzini@redhat.com> In-Reply-To: <1431012374-14113-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qemu-nbd: return EROFS for discard on a read-only export List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: kwolf@redhat.com On 07.05.2015 17:26, Paolo Bonzini wrote: > This is consistent with the handling of writes. > > Signed-off-by: Paolo Bonzini > --- > nbd.c | 6 ++++++ > 1 file changed, 6 insertions(+) Reviewed-by: Max Reitz