]> Git Repo - qemu.git/commit
block/qdev: Allow configuring rerror/werror with qdev properties
authorKevin Wolf <[email protected]>
Wed, 29 Jun 2016 15:41:35 +0000 (17:41 +0200)
committerKevin Wolf <[email protected]>
Wed, 13 Jul 2016 11:32:27 +0000 (13:32 +0200)
commit8c39825218227c0d63709708602d34c4355bad56
tree34dd245add610f9df29d03a4482b0b8cd42d079e
parent1e8fb7f1ee1ba902ab06cb8d54eca006c3b45f42
block/qdev: Allow configuring rerror/werror with qdev properties

The rerror/werror policies are implemented in the devices, so that's
where they should be configured. In comparison to the old options in
-drive, the qdev properties are only added to those devices that
actually support them.

If the option isn't given (or "auto" is specified), the setting of the
BlockBackend is used for compatibility with the old options. For block
jobs, "auto" is the same as "enospc".

Signed-off-by: Kevin Wolf <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
block/block-backend.c
blockjob.c
hw/block/block.c
hw/block/virtio-blk.c
hw/core/qdev-properties.c
hw/ide/qdev.c
hw/scsi/scsi-disk.c
include/hw/block/block.h
include/hw/qdev-properties.h
qapi/block-core.json
This page took 0.037201 seconds and 4 git commands to generate.