From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VW2TK-0000fP-86 for qemu-devel@nongnu.org; Tue, 15 Oct 2013 07:07:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VW2TE-0001Hc-9B for qemu-devel@nongnu.org; Tue, 15 Oct 2013 07:07:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VW2TE-0001HW-1Y for qemu-devel@nongnu.org; Tue, 15 Oct 2013 07:07:24 -0400 Date: Tue, 15 Oct 2013 13:07:25 +0200 From: Kevin Wolf Message-ID: <20131015110725.GD3039@dhcp-200-207.str.redhat.com> References: <1381830350-7240-1-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1381830350-7240-1-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2] blockdev: fix cdrom read_only flag List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: qemu-devel@nongnu.org, stefanha@redhat.com, edivaldoapereira@yahoo.com.br Am 15.10.2013 um 11:45 hat Fam Zheng geschrieben: > Since 0ebd24e0, cdrom doesn't have read-only on by default, which will > error out when using an read only image. Fix it by setting the default > value when parsing opts. > > Reported-by: Edivaldo de Araujo Pereira > Signed-off-by: Fam Zheng > > --- > v2: fix backward compatibility by force read-only with cdrom. (Kevin) > > Signed-off-by: Fam Zheng Reviewed-by: Kevin Wolf