On Tue, Oct 15, 2013 at 05:45:50PM +0800, Fam Zheng wrote: > 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 <edivaldoapere...@yahoo.com.br> > Signed-off-by: Fam Zheng <f...@redhat.com> > > --- > v2: fix backward compatibility by force read-only with cdrom. (Kevin) > > Signed-off-by: Fam Zheng <f...@redhat.com> > --- > blockdev.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-)
Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan