diff options
| author | Fam Zheng <famz@redhat.com> | 2013-10-15 17:45:50 +0800 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-10-17 10:19:59 +0200 |
| commit | a7fdbcf0e6e52d935ebff6d849fe4b5473e5860d (patch) | |
| tree | 2993b4dc1c788faeafe084da17c618eda84ba3c7 /scripts/qapi-types.py | |
| parent | 794cbc26eb94ce13c75d105eea9ff0afff56e2c2 (diff) | |
| download | focaccia-qemu-a7fdbcf0e6e52d935ebff6d849fe4b5473e5860d.tar.gz focaccia-qemu-a7fdbcf0e6e52d935ebff6d849fe4b5473e5860d.zip | |
blockdev: fix cdrom read_only flag
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 <edivaldoapereira@yahoo.com.br> Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions