commit | cb4e5f8ed1b648c451491b10dc92b1af1e324535 | [log] [tgz] |
---|---|---|
author | Naphtali Sprei <nsprei@redhat.com> | Sun Apr 25 19:30:37 2010 +0300 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Mon May 03 12:39:53 2010 -0500 |
tree | df59ad6308bb8a33649f853035c189cde6dc256e | |
parent | 288e7bccf1719df4d05abc872e75d544089aa139 [diff] |
block: read-only: open cdrom as read-only when using monitor's change command Current code of monitor command: 'change', used to open file for read-write uncoditionally. Change to open it as read-only for CDROM, and read-write for all others. Signed-off-by: Naphtali Sprei <nsprei@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>