]> xenbits.xensource.com Git - libvirt.git/commit
qemu: raise an error when trying to use readonly ide disks
authorGiuseppe Scrivano <gscrivan@redhat.com>
Mon, 30 Jun 2014 10:05:06 +0000 (12:05 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 2 Jul 2014 06:17:23 +0000 (08:17 +0200)
commit72f919f558902968bd0cf9f99f25ac62cbfe3ac6
treedf6350804dbc0c5329e6fe95b7045109398e8562
parent1ef65842882d342aae149fa0e642b8f8a811fd70
qemu: raise an error when trying to use readonly ide disks

The IDE bus doesn't support readonly disks, so inform the user with an
error message instead of let qemu fail with a more obscure "Device
'ide-hd' could not be initialized" error message.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1112939
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
src/qemu/qemu_command.c