summaryrefslogtreecommitdiffstats
path: root/hw/piix_pci.c
diff options
context:
space:
mode:
authorNaphtali Sprei2010-04-25 18:30:37 +0200
committerAnthony Liguori2010-05-03 19:39:53 +0200
commitcb4e5f8ed1b648c451491b10dc92b1af1e324535 (patch)
treedf59ad6308bb8a33649f853035c189cde6dc256e /hw/piix_pci.c
parentfix whitespace bogon in some versions of make (diff)
downloadqemu-cb4e5f8ed1b648c451491b10dc92b1af1e324535.tar.gz
qemu-cb4e5f8ed1b648c451491b10dc92b1af1e324535.tar.xz
qemu-cb4e5f8ed1b648c451491b10dc92b1af1e324535.zip
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>
Diffstat (limited to 'hw/piix_pci.c')
0 files changed, 0 insertions, 0 deletions