• A
    block: Add a 'mutable_opts' field to BlockDriver · 8a2ce0bc
    Alberto Garcia 提交于
    If we reopen a BlockDriverState and there is an option that is present
    in bs->options but missing from the new set of options then we have to
    return an error unless the driver is able to reset it to its default
    value.
    
    This patch adds a new 'mutable_opts' field to BlockDriver. This is
    a list of runtime options that can be modified during reopen. If an
    option in this list is unspecified on reopen then it must be reset (or
    return an error).
    Signed-off-by: NAlberto Garcia <berto@igalia.com>
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    8a2ce0bc
raw-format.c 17.2 KB