summaryrefslogtreecommitdiff
path: root/qemu-option.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-05-27 20:02:28 +0200
committerKevin Wolf <kwolf@redhat.com>2010-07-06 17:05:49 +0200
commit620f862e1c3d0862923997c8d6632c5916da997c (patch)
treebbc7cfc1e33048a2e202342647fd486a5085d1ce /qemu-option.h
parentbd6c9a617d969752c9d3663f6ad29ae6d6d6c402 (diff)
scsi: Reject unimplemented error actions
drive_init() doesn't permit rerror for if=scsi, but that's worthless: we get it via if=none and -device. Moreover, scsi-generic doesn't support werror. Since drive_init() doesn't catch that, option werror was silently ignored even with if=scsi. Wart: unlike drive_init(), we don't reject the default action when it's explicitly specified. That's because we can't distinguish "no rerror option" from "rerror=report", or "no werror" from "rerror=enospc". Left for another day. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-option.h')
0 files changed, 0 insertions, 0 deletions